summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
1998-06-30(main): Move the test of the result of the read_filesystem_list callJim Meyering
up out of if-block -- code in the else-block depends on it too.
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Include system.h only after error.h and readutmp.hJim Meyering
so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names.
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Update call to human_readable -- now there's one fewer arg.Jim Meyering
1998-06-29(__xstrtol), src/dd.c (parse_integer):Jim Meyering
Add support for SI-like suffixes like "GB" and "TD". (usage): Describe it.
1998-06-29(human_readable_base, output_units): Remove;Jim Meyering
replace with new variable output_block_size. All uses changed. (long_options, usage, main): Add --block-size. (main, decode_switches): Use new human_block_size function to initialize output block size consistently with other programs. From Paul Eggert.
1998-06-29(human_readable_base, output_units): Remove;Jim Meyering
replace with new variable output_block_size. All uses changed. (long_options, usage, main): Add --block-size. (main, decode_switches): Use new human_block_size function to initialize output block size consistently with other programs. (print_header, show_dev): Shrink some columns and expand others, to squeeze in support for today's larger filesystems. (print_header): Print output block size using power-of-1024 SI format. (df_readable): Coalesce last two args into one, for convenience. All callers changed. (main): Remove check for portable output format and larger or human-readable block sizes. From Paul Eggert.
1998-06-29(usage): Make --kilobytes description consistent withJim Meyering
that in du and df. From Göran Uddeborg.
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-06-29add #undefs, alphabetizeJim Meyering
1998-06-28experimental support for -t [optional fd] -- probably soon to be backed outJim Meyering