| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Got rid of the hlink_pool in favor of using the new hashtable code | Wayne Davison | 2006-12-17 | 1 | -50/+56 |
| | | | | | | | | | on the receiving side. This allows us to always use a 32-bit number to identify the hardlink clusters, even on a system where pointers are 64-bits. Also made changes to handle the use of F_ROOTDIR() and F_DEPTH() instead of the old union that wasted space on the receiving side when pointers are 64-bits. | ||||
| * | Use the new rounding.h file to optionally round up the count of | Wayne Davison | 2006-12-16 | 1 | -7/+23 |
| | | | | | | extra values we put at the start of the file_struct. Also, deal with the extras variable no longer being in the file_struct. | ||||
| * | Added a basename var to file_struct at the end, making it clearer | Wayne Davison | 2006-12-16 | 1 | -9/+9 |
| | | | | | | where the basename exists without actually changing how the data is organized. | ||||
| * | For protocol 30, the sender uses the new idev_node() hashfile | Wayne Davison | 2006-12-15 | 1 | -36/+103 |
| | | | | | | | | | | routine to keep track of which item is the first one in a particular hard-link cluster. It then abbreviates the sending of any follow-on items in the cluster, reducing transfer bytes. It also omits the sending of any dev+inode data to the receiver, saving even more xfer bytes (since the receiver can associate the entries based on the the group's index number that is sent when abbreviating an entry). | ||||
| * | Renamed XMIT_HAS_IDEV_DATA to XMIT_HLINKED. | Wayne Davison | 2006-12-14 | 1 | -6/+6 |
| | | |||||
| * | Cast FILE_STRUCT_LEN & EXTRA_LEN to int for rprintf(). | Wayne Davison | 2006-12-12 | 1 | -1/+1 |
| | | |||||
| * | Neaten some function formatting. | Wayne Davison | 2006-12-12 | 1 | -4/+2 |
| | | |||||
| * | Changed the hlink_pool variable to be a global since only the main | Wayne Davison | 2006-12-09 | 1 | -14/+8 |
| | | | | | file list ever has a pool for hard-linking. | ||||
| * | Explicitly cast the length values down to an uint32 so that some | Wayne Davison | 2006-12-08 | 1 | -2/+2 |
| | | | | | compilers don't complain about the value getting smaller. | ||||
| * | - Use the new device defines: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). | Wayne Davison | 2006-12-07 | 1 | -15/+12 |
| | | | | | - Use renamed F_HL_IDEV() define. | ||||
| * | Handle the FLAG_LENGTH64 flag in unmake_file(). | Wayne Davison | 2006-12-05 | 1 | -2/+3 |
| | | |||||
| * | Saved 9 more bytes per file in a typical transfer by making the length | Wayne Davison | 2006-12-05 | 1 | -92/+118 |
| | | | | | | 32 bits by default, by removing the basename pointer, and by making the mode value a unsigned short. | ||||
| * | - Typical tranfers now save 12-20 bytes per file because several vars | Wayne Davison | 2006-12-03 | 1 | -147/+151 |
| | | | | | | | | were moved out of file_struct into an optional member-var setup. - Renamed and reorganized the FLAG_* defines. - Use NDX_DONE instead of a literal -1 when sending/checking the end-of-phase index value. | ||||
| * | Added some more "const" prefixes to some "char *" vars. | Wayne Davison | 2006-11-28 | 1 | -1/+1 |
| | | |||||
| * | - Use write_shortint() to send the 2 bytes in an extended flag. | Wayne Davison | 2006-11-24 | 1 | -3/+2 |
| | | | | | - Improved a comment. | ||||
| * | Use an explicit cast when a value gets stored in a smaller var. | Wayne Davison | 2006-11-21 | 1 | -4/+4 |
| | | |||||
| * | Added "const" to appropriate char pointers. | Wayne Davison | 2006-11-19 | 1 | -3/+2 |
| | | |||||
| * | Turned the char * vars flist_dir and lastdir into const char * vars. | Wayne Davison | 2006-11-13 | 1 | -2/+2 |
| | | |||||
| * | If ignore_perishable is set, increment a count of all excluded | Wayne Davison | 2006-11-11 | 1 | -2/+10 |
| | | | | | items found by make_file(). | ||||
| * | When make_file() gets a stat() error on a file, the check-for- | Wayne Davison | 2006-11-11 | 1 | -1/+2 |
| | | | | | | exclusion-before-reporting-an-error code allows a dir-specific rule to match the unknown file, not just a non-dir rule. | ||||
| * | Got rid of the recent paranoid length check because it didn't help | Wayne Davison | 2006-10-14 | 1 | -4/+1 |
| | | | | | to silence a code-checker warning. | ||||
| * | - Changed some sprintf() calls to snprintf() calls. | Wayne Davison | 2006-10-13 | 1 | -5/+5 |
| | | | | | - Changed two last strcpy() calls to strlcpy() calls. | ||||
| * | Added a paranoid length check. | Wayne Davison | 2006-10-13 | 1 | -1/+4 |
| | | |||||
| * | - Use precompiler conditionals in to_wire_mode() and from_write_mode() | Wayne Davison | 2006-10-13 | 1 | -19/+14 |
| | | | | | | | | | | to get rid of code that is not needed on the current system. - Silence a code-checker warning in send_file_entry(). - Silence a code-checker warning in make_file(). - Fixed a bug in f_name_cmp() that could compare an empty filename incorrectly (which might only happen if we transformed a dot-dir into an empty name). (Thanks, code checker!) | ||||
| * | Removed the changes in symlink handling in non-chroot daemon mode as | Wayne Davison | 2006-10-12 | 1 | -9/+5 |
| | | | | | | they were not yet safe (I'll consider similar changes for the next release). | ||||
| * | Call push_dir() with its new boolean arg. | Wayne Davison | 2006-10-08 | 1 | -2/+2 |
| | | |||||
| * | When we're cleaning up a path of "/" in relative mode, we must make | Wayne Davison | 2006-08-26 | 1 | -0/+2 |
| | | | | | | | the name "/." (as it was of old) so that there is a filename for us to send. Fixes a problem with --delete --relative when copying from the root (/) of the filesystem. | ||||
| * | Use new MAKEDEV() macro instead of makedev() directly. | Wayne Davison | 2006-07-10 | 1 | -5/+5 |
| | | |||||
| * | Obey the new "munge symlinks" dameon setting. | Wayne Davison | 2006-07-03 | 1 | -0/+2 |
| | | |||||
| * | - Turned some FINFO rprintf() calls into FCLIENT calls that don't go | Wayne Davison | 2006-05-09 | 1 | -4/+6 |
| | | | | | | into a client-side log-file. - Added a couple FLOG rprintf() calls. | ||||
| * | Got rid of an unused variable. | Wayne Davison | 2006-05-09 | 1 | -1/+0 |
| | | |||||
| * | Call the new die_on_unsafe_path() function in a couple spots. | Wayne Davison | 2006-05-05 | 1 | -0/+4 |
| | | |||||
| * | - Call safe_stat() instead of do_stat() when a sanitizing daemon might | Wayne Davison | 2006-05-03 | 1 | -10/+9 |
| | | | | | | need to ensure that it doesn't follow any unsafe symlinks. - Use the new calling syntax for sanitize_path(). | ||||
| * | Tweaked some variable names in readlink_stat() and link_stat(). | Wayne Davison | 2006-05-02 | 1 | -28/+22 |
| | | |||||
| * | Got rid of the sanitizing of a symlink's link string because it | Wayne Davison | 2006-05-02 | 1 | -2/+0 |
| | | | | | | is happening too early to work correctly (before we know what our destination-directory's depth in the module will be). | ||||
| * | 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 | -23/+19 |
| | | | | | | | | - 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). | ||||
| * | Got rid of the setting of io_write_phase. | Wayne Davison | 2006-04-21 | 1 | -5/+0 |
| | | |||||
| * | - Got rid of unused externs. | Wayne Davison | 2006-02-24 | 1 | -5/+4 |
| | | | | | | | - Added support for copy_dirlinks. - Fixed a bug where --copy-links would not affect implied dirs unless --copy-unsafe-links was also specified. | ||||
| * | Made the receiver count the size of symlinks in the total_size | Wayne Davison | 2006-02-13 | 1 | -1/+1 |
| | | | | | value, just like the sender does. | ||||
| * | Tweaked a comment. | Wayne Davison | 2006-02-08 | 1 | -2/+2 |
| | | |||||
| * | Got rid of the orig_umask-based file->mode tweak in receive_file() | Wayne Davison | 2006-01-31 | 1 | -7/+0 |
| | | | | | (which got moved into the dest_mode() function). | ||||
| * | Made get_dirlist() always include directories. | Wayne Davison | 2006-01-30 | 1 | -0/+3 |
| | | |||||
| * | Added extern for io_write_phase. | Wayne Davison | 2006-01-30 | 1 | -0/+1 |
| | | |||||
| * | Use PERMSTRING_SIZE rather than a hard-wired "11". | Wayne Davison | 2006-01-29 | 1 | -4/+4 |
| | | |||||
| * | Made the new --prune-empty-dirs code a little more memory efficient. | Wayne Davison | 2006-01-28 | 1 | -27/+43 |
| | | |||||
| * | Tweaked a variable name in flist_find(). | Wayne Davison | 2006-01-28 | 1 | -6/+6 |
| | | |||||
| * | The user can now use a "protect" filter to avoid pruning one or | Wayne Davison | 2006-01-28 | 1 | -16/+22 |
| | | | | | more empty directories when --prune-empty-dirs is in effect. | ||||
| * | Improved flist_find()'s empty-entry handling to deal with the case | Wayne Davison | 2006-01-27 | 1 | -19/+28 |
| | | | | | where more entries may have been removed since the last find. | ||||
| * | Optimized flist_find() so that we never scan a series of empty | Wayne Davison | 2006-01-27 | 1 | -20/+39 |
| | | | | | | | file-list items twice (which can be very important with the new --skip-empty-dirs option). Also optimized the code that strips root slashes in clean_flist(). | ||||
