Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include 2008 in the copyright years. | Wayne Davison | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Use new0() function instead of new() followed by memset(). | Wayne Davison | 2007-09-03 | 1 | -2/+1 |
| | |||||
* | Tweaking the license text a bit more. | Wayne Davison | 2007-07-10 | 1 | -2/+3 |
| | |||||
* | Switching to GPL 3. | Wayne Davison | 2007-07-07 | 1 | -3/+2 |
| | |||||
* | - Do less seeking when writing a sparse file. | Wayne Davison | 2007-05-26 | 1 | -21/+29 |
| | | | | | - Don't rewrite the last byte of a file in sparse mode when the file didn't end with a null char. | ||||
* | Further modifications to the copyright comment section. | Wayne Davison | 2007-02-04 | 1 | -4/+3 |
| | |||||
* | Only sparse_files > 0 now indicates option is enabled. | Wayne Davison | 2006-12-28 | 1 | -1/+1 |
| | |||||
* | Use an explicit cast when a value gets stored in a smaller var. | Wayne Davison | 2006-11-21 | 1 | -2/+2 |
| | |||||
* | Updated the FSF's address to an even newer one. | Wayne Davison | 2006-04-25 | 1 | -3/+3 |
| | |||||
* | - Updated the address for the FSF in the opening comment. | Wayne Davison | 2006-04-25 | 1 | -20/+20 |
| | | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files). | ||||
* | Fixed the value of map->p_fd_offset when a read() fails or is | Wayne Davison | 2006-04-08 | 1 | -1/+1 |
| | | | | abbreviated. | ||||
* | If we get less data than expected from a read() in map_ptr(), we | Wayne Davison | 2005-09-21 | 1 | -22/+27 |
| | | | | need to try to keep reading to see if we get an error or more data. | ||||
* | Improved do_lseek()'s failure message. | Wayne Davison | 2005-02-27 | 1 | -2/+5 |
| | |||||
* | - Changed the map_size parameter to map_file() to be an int32 named | Wayne Davison | 2005-01-17 | 1 | -18/+20 |
| | | | | | | | | | | "read_size". - Changed some int vars in map_ptr() needed to be int32 vars. - All callers expect map_ptr() to return back the full "len" bytes, so we never shorten this value, even near EOF--the read will just get zero-padded, as needed. - Die with an error if someone calls map_ptr() with a len < 0, or if read_size is computed as a value < 0. | ||||
* | - Use an int32 for the each block-size variable. | Wayne Davison | 2005-01-01 | 1 | -12/+8 |
| | | | | | - Renamed the local block_size arg to blk_size (to avoid confusion with the global block_size variable). | ||||
* | - Changed the calling syntax for map_file() so that it takes both | Wayne Davison | 2004-08-03 | 1 | -12/+11 |
| | | | | | | a (possibly approximate) window size and an optional block size (which is used to round-up the window size if it is non-zero). - Don't set window_start behind the supplied offset in map_ptr(). | ||||
* | - Added a new block_size arg to map_file(). Use it to set the | Wayne Davison | 2004-07-20 | 1 | -8/+8 |
| | | | | | new def_window_size member variable. - Got rid of max_map_size global (we use def_window_size now). | ||||
* | Added a max_map_size variable, initialized to MAX_MAP_SIZE. | Wayne Davison | 2004-07-16 | 1 | -1/+3 |
| | |||||
* | Make wf_writeBufSize based on a multiple of WRITE_SIZE instead | Wayne Davison | 2004-07-16 | 1 | -5/+6 |
| | | | | of the unrelated MAX_MAP_SIZE. | ||||
* | Use memset() to initialize a new map_struct. | Wayne Davison | 2004-05-11 | 1 | -10/+5 |
| | |||||
* | Some whitespace tweaks. | Wayne Davison | 2004-01-05 | 1 | -15/+15 |
| | |||||
* | Improved flush_write_file(). | Wayne Davison | 2004-01-02 | 1 | -8/+17 |
| | |||||
* | Applying my updated version of Craig Barratt's buffered I/O patch. | Wayne Davison | 2004-01-02 | 1 | -1/+31 |
| | |||||
* | Merged in the security fixes from 2.5.7. | Wayne Davison | 2003-12-06 | 1 | -2/+2 |
| | |||||
* | Detect and report when open or opendir succeed but read and | J.W. Schultz | 2003-09-16 | 1 | -2/+12 |
| | | | | | | readdir fail caused by network filesystems issues and truncated files. Thanks to David Norwood and Michael Brown | ||||
* | Changed write file to cope with partial writes by looping | J.W. Schultz | 2003-05-22 | 1 | -8/+11 |
| | | | | | until complete or errno is set. (John Van Essen) | ||||
* | More signedness fixes; should be harmless. | Martin Pool | 2002-01-25 | 1 | -4/+6 |
| | |||||
* | Signedness security patch from Sebastian Krahmer <krahmer@suse.de> -- | Martin Pool | 2002-01-23 | 1 | -2/+2 |
| | | | | | | | in some cases we were not sufficiently careful about reading integers from the network. Also, make sure log messages are always nul-terminated. | ||||
* | no longer use mmap() in rsync because of the risk of a SIGBUS when | Andrew Tridgell | 1998-12-30 | 1 | -89/+84 |
| | | | | | | | another program (such as a mailer) truncates a file. To offset the speed loss I have rewritten the map_ptr() code to make much better use of read(). | ||||
* | patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add | Andrew Tridgell | 1998-11-03 | 1 | -2/+2 |
| | | | | different exit codes for different conditions. | ||||
* | heaps of cleanup in the io code. | Andrew Tridgell | 1998-05-27 | 1 | -0/+218 |
we no longer use non-blocking IO, instead it uses select a lot more, being careful to always allow for reading whenever a valid read fd is available and chcking timeouts. also split the file io calls into fileio.c |