Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cast off_t variables to long long int when printing so we don't get the | Nate Straz | 2008-09-23 | 1 | -5/+5 |
| | | | | | | | | ugly warnings. We should always be compiling with 64-bit off_t's so this should not be a problem. Change nread and nwrote back to ssize_t's since that is what read and write return. nleft remains an off_t because we initialize to stat.st_size. | ||||
* | sendfile() can only send about 2GB, but you can keep calling it until | Nate Straz | 2008-09-23 | 1 | -2/+4 |
| | | | | everything is sent. | ||||
* | Use off_t instead of size_t so we can transfer files larger than 2GB. | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | | | | | | I changed all formats from %zd to %lld, but this adds a lot of warnings because off_t isn't the same as long long int to the compiler. I don't know if there is a way to avoid the warnings on all platforms. | ||||
* | Add fallback to read/write when sendfile doesn't work. | Nate Straz | 2008-09-23 | 1 | -0/+31 |
| | |||||
* | Add copyright notices and GPL header | Nate Straz | 2008-09-23 | 1 | -0/+17 |
| | |||||
* | Clean up printing of file xfers. | Dean Jansa | 2008-09-23 | 1 | -13/+13 |
| | |||||
* | Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh. | Nate Straz | 2008-09-23 | 1 | -60/+271 |
| | |||||
* | Flatten the qarsh tree. | Nate Straz | 2008-09-23 | 1 | -0/+382 |