summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-08-15(copy_internal) [one-file-system]: Do copy mount pointJim Meyering
directories (but none of their entries). This makes `cp --one-file-system' work the same way tar does. From Marty Leisner.
1998-08-15(qmark_funny_chars): Add comment from Paul eggert.Jim Meyering
1998-08-15(usage): Reformat a little.Jim Meyering
1998-08-15(long_options): Add long names for all options.Jim Meyering
(usage): Update help string. (main): Handle the special options --pages and --columns.
1998-08-15Add braces to suppress warning about ambiguous `else'.Jim Meyering
1998-08-14.Jim Meyering
1998-08-13Include filemode.h.Jim Meyering
1998-08-11*** empty log message ***Jim Meyering
1998-08-11(usage): Correct description. Reported by John Murphy.Jim Meyering
1998-08-02(re_protect): Add comment.Jim Meyering
1998-08-02(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP, MTIME_CMP): New macros.Jim Meyering
1998-08-02(copy_internal): Compare time stamps with subsecond resolution if available.Jim Meyering
1998-08-02(compare_ctime, rev_cmp_ctime, compare_mtime,Jim Meyering
rev_cmp_mtime, compare_atime, rev_cmp_atime): Compare time stamps with subsecond resolution if available.
1998-08-02(touch): Add comment.Jim Meyering
1998-08-02(change_timestamps): Add comment.Jim Meyering
1998-08-01(my_setlocale): Guard definition within #ifdef ENABLE_NLS.Jim Meyering
1998-07-30 * src/sort.c (usage): Add angle brackets to make `Report bugs...'Jim Meyering
message consistent with all the rest.
1998-07-29(NEGATION_SIGN): Renamed from NEGATIVE_SIGN to avoidJim Meyering
clash with <langinfo.h>. All uses changed. From Andreas Schwab.
1998-07-29(show_all_fs):Jim Meyering
Revert to boolean value; the old negative value is now in show_local_fs. (show_local_fs): New variable. (show_dev): New args me_dummy and me_class. Use show_local_fs and boolean show_all_fs in combination with these new args to decide whether to show a device. (show_disk): Pass flags to show_dev. (show_point): Use a non-dummy mount entry if possible. (show_all_entries): Pass flags to show_dev. (main): --local sets show_local_fs now. Ask for file system types if show_local_fs is nonzero, since ME_REMOTE might need them. From Paul.
1998-07-27Make copy create each destination file initiallyJim Meyering
with mode 0600 so strip will work, then apply specified mode. Arne Henrik Juul reported that `./ginstall -s -c -m 555 dd /tmp' failed.
1998-07-26Convert some char* dcls to `unsigned char*' and remove a cast --Jim Meyering
to placate irix4's cc.
1998-07-26(check_punctuation): Add cast to placate irix4's cc. Reported by Kaveh Ghazi.Jim Meyering
1998-07-26(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.Jim Meyering
1998-07-26(chown): Remove unused definition.Jim Meyering
Reported by Kaveh Ghazi.
1998-07-26(cut_fields): Honor new --output-delimiter option.Jim Meyering
(main): Fix handling of --delimiter='' (-d ''). Until now, it has never worked as advertised. I guess no one tried it.
1998-07-26(main): Stat all non-`-' input file files (and fail if aJim Meyering
stat fails) when an output file is specified by `-o' but doesn't exist.
1998-07-26(main): rmdir fails with EEXIST on some systems.Jim Meyering
Handle that, so --ignore-fail-on-non-empty works. (EEXIST): Define to zero if not defined. (ENOTEMPTY): Likewise.
1998-07-25(SAME_INODE): Define it here instead.Jim Meyering
1998-07-25(SAME_INODE): Remove definition.Jim Meyering
1998-07-25(same_file): New functionJim Meyering
(remove_dir): Use it to give a better diagnostic when rmdir fails because it can't remove the current directory.
1998-07-25(long_options): Changes table entries not to use this form:Jim Meyering
{"all", no_argument, &show_all_fs, 1}, but rather this form: {"all", no_argument, NULL, 'a'}, Using the latter, all the option handling in one place: the getopt loop.
1998-07-25(show_dev): Omit local devices if show_all_fs is negative.Jim Meyering
(show_all_fs): If negative, omit non-local filesystems. All uses of (all_fs != 0) changed to (all_fs > 0). (long_options, usage, main): Add -l or --local option. (main): When asking for df of an explicit file name, get all the mount points, so that we're more likely to find it when we look it up.
1998-07-25(utime_now): Moved into m4/utimes.m4.Jim Meyering
(touch) [!HAVE_UTIME_NULL]: Remove #ifdef and use of utime_now in if-block.
1998-07-19(copy_internal): Add another exclusion from theJim Meyering
sameness test: when --force has been specified, the destination is unlinked before any copy. (copy_internal): Add yet another: when both src and dest are symlinks.
1998-07-16Include lchown.h.Jim Meyering
1998-07-16[!ENOSYS] (ENOSYS): Define to ENOTSUP or ENOMSG.Jim Meyering
1998-07-15(check_format): Add `5' to the list of digits.Jim Meyering
Reported by Donni Erpel.
1998-07-13(print_header): Print "1k-blocks", not "1.0k-blocks".Jim Meyering
1998-07-08Remove FCLOSE_UNLOCKED block.Jim Meyering
1998-07-05(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.Jim Meyering
From Kaveh Ghazi.
1998-07-04tweak commentJim Meyering
1998-07-04Remove #ifdef around <regex.h> inclusion.Jim Meyering
1998-07-04Remove #ifdef around <regex.h> inclusion.Jim Meyering
(extract_regexp): Remove #if !WITH_REGEX...#endif block.
1998-07-04(remove_dir): Use fprintf, not error to avoid newline in prompt.Jim Meyering
1998-07-03(copy_internal): Rename variable and reverse sense of testsJim Meyering
to make the code a little clearer.
1998-07-03(df_readable): Rename local so as not to shadow global.Jim Meyering
1998-07-03(SAME_INODE): New macro.Jim Meyering
Use it to replace open-coded equivalents.
1998-07-03(copy_internal): Try harder identifying a relativeJim Meyering
symbolic link in the current directory. From Andreas Schwab.
1998-07-03(copy_internal): Don't skip test for same file if creating a hardlinkJim Meyering
from symlink over a non-symlink while making backups.
1998-07-03(copy_internal): Don't call chown on a symlink.Jim Meyering