1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-27 02:33:01 +03:00

Commit Graph

  • 3858d01133 Don't include limits.h. Jim Meyering 1997-12-21 22:21:26 +00:00
  • 62fed0f3a2 Don't include limits.h or sys/param.h. Jim Meyering 1997-12-21 22:21:10 +00:00
  • 37998fc5bd Don't include limits.h. These are all done in system.h now. Jim Meyering 1997-12-21 22:20:17 +00:00
  • 6123a88852 Don't include limits.h. (UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now. Jim Meyering 1997-12-21 22:20:01 +00:00
  • 3d0e13a00d . Jim Meyering 1997-12-21 12:29:32 +00:00
  • 2f606bcf56 *** empty log message *** Jim Meyering 1997-12-21 12:18:05 +00:00
  • 1ed365fb82 Use PARAMS, not __P. Jim Meyering 1997-12-21 12:17:26 +00:00
  • 2b2fb0cf91 *** empty log message *** Jim Meyering 1997-12-21 12:11:32 +00:00
  • 76d9ec0ad0 increment serial number Jim Meyering 1997-12-21 12:11:17 +00:00
  • 32068e5812 increment serial number Jim Meyering 1997-12-21 12:10:55 +00:00
  • 90d217b19a increment serial number Jim Meyering 1997-12-21 12:10:26 +00:00
  • 726c48d02f Fix reversed types on -1 args to chown. From Kaveh Ghazi. Jim Meyering 1997-12-21 12:10:07 +00:00
  • 1af374e6a4 . Jim Meyering 1997-12-21 12:06:03 +00:00
  • 9ef99e168b *** empty log message *** Jim Meyering 1997-12-21 12:05:56 +00:00
  • bdcaa361bc Include exclude.h. (exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries. Jim Meyering 1997-12-21 12:05:42 +00:00
  • a1003f154f remove FIXME-describe comments Jim Meyering 1997-12-21 11:57:17 +00:00
  • 3ba71d6de1 add FIXME-describe comments Jim Meyering 1997-12-21 11:56:34 +00:00
  • ac5fc8ea73 Include exclude.h. (exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries. Jim Meyering 1997-12-21 11:47:27 +00:00
  • a3e0b4392c (libfu_a_SOURCES): Add exclude.c. (noinst_HEADERS): Add exclude.h. Jim Meyering 1997-12-21 11:46:49 +00:00
  • cbd71d8eea . Jim Meyering 1997-12-21 11:43:34 +00:00
  • a2c7ebd49c . Jim Meyering 1997-12-21 11:24:53 +00:00
  • 727298f3f5 Use PARAMS, not __P. Jim Meyering 1997-12-21 11:22:51 +00:00
  • 27d24b46ad (rpl_chown): Rename from chown. Undefine chown just after including config.h. Include sys/stat.h. Use correct ordering of uid and gid parameters both in function definition and in call to chown. With patches from Kaveh Ghazi. Jim Meyering 1997-12-21 11:17:20 +00:00
  • a2f0f9ac89 s/__P/PARAMS/g Jim Meyering 1997-12-16 15:44:00 +00:00
  • ece81e9e4a *** empty log message *** Jim Meyering 1997-12-16 15:43:01 +00:00
  • 70618de21b s/__P/PARAMS/g. Jim Meyering 1997-12-16 15:42:48 +00:00
  • 589a3c2872 *** empty log message *** Jim Meyering 1997-12-16 15:33:33 +00:00
  • 03f9f3dbec s/__P/PARAMS/g Jim Meyering 1997-12-16 15:32:32 +00:00
  • fc22546441 . Jim Meyering 1997-12-16 15:16:20 +00:00
  • 08b3d2975e *** empty log message *** Jim Meyering 1997-12-16 15:13:06 +00:00
  • 5d764734f7 tweak indentation Jim Meyering 1997-12-16 15:11:23 +00:00
  • 36665a7464 (struct bin_str): Make len int, not unsigned, to avoid bogus comparison < 0. (quote_filename): Add forward decl. (decode_switches): -b, -e, -N, -Q are now mutually exclusive. (print_dir): Quote directory name as per quoting options. (print_long_format): Don't count color changes as part of file name. (quote_filename): Revamp interface: now accepts stream to output to and filename, and returns length of quoted filename. This removes duplicated code and should make errors less likely. Also, no longer mallocs storage. All callers changed. Don't quote ' ' if -Q. (OUTCHAR): New macro. (SAVECHAR, SAVE_2_CHARS): Remove. (print_name_with_quoting): New stack arg. All callers changed. (print_color_indicator): Cast ext len to size_t to avoid warning with GCC 2.8. (length_of_file_name_and_frills): Rewrite to use quote_filename. This fixes bug when computing file name length with -e. 1997-12-14 Paul Eggert <eggert@twinsun.com> Add shell style quoting, and make it the default. * NEWS, doc/fileutils.texi: Describe -e, which is now the default. Describe change to --dired output. * src/ls.c (quote_shell): New var. (long_options, decode_switches, usage): New option -e or --quote-shell. (dired_dump_obstack): New arg STYLE. (main): Pass quoting style to dired_dump_obstack. (decode_switches): -N now clears quote_as_string. (quote_filename): Add shell style quoting. Jim Meyering 1997-12-16 15:09:19 +00:00
  • 1ca40285b2 (deep): Remove `find > k' debugging remnant. Jim Meyering 1997-12-15 11:35:22 +00:00
  • ce939d6f44 Make sure we get diagnostics in English. Jim Meyering 1997-12-14 21:51:44 +00:00
  • f126c8d3a1 Remove lseek and memchr dcls. FILEUTILS-3_16g Jim Meyering 1997-12-14 16:28:18 +00:00
  • 970ffd8520 *** empty log message *** Jim Meyering 1997-12-14 16:28:06 +00:00
  • 7dcb361c82 *** empty log message *** Jim Meyering 1997-12-14 16:25:06 +00:00
  • 5867abf11e *** empty log message *** Jim Meyering 1997-12-14 15:38:18 +00:00
  • 9afbb6eec6 (ASSIGN_STRDUPA): Cast alloca return value to char*. Jim Meyering 1997-12-14 15:38:04 +00:00
  • ef938e62d0 s/HAVE_DECLARATION_/HAVE_DECL_/. Jim Meyering 1997-12-14 15:15:07 +00:00
  • e68f7b2e4b cast memcpy to char* Jim Meyering 1997-12-14 15:12:29 +00:00
  • b1bd801e94 Add #serial 1. Jim Meyering 1997-12-14 15:03:38 +00:00
  • 56b3459d40 add memchr dcl Jim Meyering 1997-12-14 14:00:15 +00:00
  • f684c873f7 s/HAVE_DECLARATION/HAVE_DECL_/g Jim Meyering 1997-12-14 12:40:33 +00:00
  • 7c474bb76f add lseek Jim Meyering 1997-12-14 12:03:55 +00:00
  • 31c36865e5 *** empty log message *** Jim Meyering 1997-12-14 12:03:38 +00:00
  • a6c30b90a3 *** empty log message *** Jim Meyering 1997-12-14 08:03:18 +00:00
  • 386843fd25 s/DECLARATION_/DECL_/g. Add memchr. Jim Meyering 1997-12-14 08:03:07 +00:00
  • 457d8d9aef *** empty log message *** Jim Meyering 1997-12-14 07:44:38 +00:00
  • 15f5e27eaf s/HAVE_DECLARATION_/HAVE_DECL_/g Jim Meyering 1997-12-14 07:40:32 +00:00
  • 1ac1f811f6 *** empty log message *** Jim Meyering 1997-12-13 23:42:54 +00:00
  • b86f6c2308 (main): Add some braces. Check return code from fclose of each input file. Close stdout and check for errors. Jim Meyering 1997-12-13 23:39:09 +00:00
  • 444c6da144 (close_output_file): Check ferror before calling fclose. (main): Close stdout and check for errors. Jim Meyering 1997-12-13 23:38:53 +00:00
  • 84a050b56f . Jim Meyering 1997-12-13 22:56:50 +00:00
  • b5697888a0 . Jim Meyering 1997-12-13 22:55:52 +00:00
  • 8f38e99480 . Jim Meyering 1997-12-13 22:54:01 +00:00
  • f977e4b5cf Change --help output to tell the truth: that for of=FILE, FILE *is* truncated. Reported by Miles Bader. Remove incomplete, usage-like comment at top of file. Jim Meyering 1997-12-13 22:49:33 +00:00
  • d75ca19d76 (usage): Mention that `notrunc' is a conv= option. Reported by Miles Bader. Jim Meyering 1997-12-13 17:01:54 +00:00
  • 587a9df786 . Jim Meyering 1997-12-13 16:23:06 +00:00
  • 295372322d (do_move): If rename fails for any reason (not just when errno == EXDEV), then revert to trying copy-then-unlink. This is necessary to allow moving files within certain types of Linux NFS mounted filesystems. Reported by Marty Leisner. Jim Meyering 1997-12-13 16:22:58 +00:00
  • b2959537e6 *** empty log message *** Jim Meyering 1997-12-13 16:13:34 +00:00
  • 39546ad7d7 *** empty log message *** Jim Meyering 1997-12-11 18:18:22 +00:00
  • 322f7b0971 . Jim Meyering 1997-12-11 08:40:21 +00:00
  • a320eee158 (do_link): Don't require --force when target exists and using --backup. This changes makes ln consistent with cp and mv in this respect. Suggestion from Eli Zaretskii. Jim Meyering 1997-12-11 08:40:10 +00:00
  • 603137e2ab *** empty log message *** Jim Meyering 1997-12-10 11:17:16 +00:00
  • 4f242b4d51 use NULL, '\0' instead of zeroes Jim Meyering 1997-12-10 10:31:25 +00:00
  • 3cd84da3a6 (main): Make sure pw->pw_shell is non-NULL before trying to strdup it. Patch from Dick Streefland. Jim Meyering 1997-12-10 10:25:46 +00:00
  • 92f0098844 . Jim Meyering 1997-12-06 21:18:14 +00:00
  • 45ef6ccef8 . Jim Meyering 1997-12-06 21:16:57 +00:00
  • 20e1875a32 revert last change Jim Meyering 1997-12-06 21:09:58 +00:00
  • b73786146f use SORT_INITIAL_LINE_LENGTH envvar for testing Jim Meyering 1997-12-06 21:09:30 +00:00
  • a587b015d0 *** empty log message *** Jim Meyering 1997-12-06 21:08:41 +00:00
  • a353313b22 *** empty log message *** Jim Meyering 1997-12-06 18:23:51 +00:00
  • 7209272d72 . Jim Meyering 1997-12-06 13:42:21 +00:00
  • 6ee3c1a91a (fillbuf): split longer-than-80-char line Jim Meyering 1997-12-06 12:13:52 +00:00
  • 9f50126a03 . Jim Meyering 1997-12-06 09:20:26 +00:00
  • 5d1987b3da . Jim Meyering 1997-12-06 09:18:32 +00:00
  • 04c29cd1db Separate struct dcl and typedef. (String *): Rename from parameter-shadowed `string'. (stringstruct): Remove typedef. Jim Meyering 1997-12-06 08:57:14 +00:00
  • d91c95fda0 (re_compile_fastmap): Remove dcl of unused num_regs. Jim Meyering 1997-12-06 08:27:25 +00:00
  • 8f1aea2bc0 *** empty log message *** TEXTUTILS-1_22c Jim Meyering 1997-11-30 15:17:48 +00:00
  • ad7eabb3b3 . Jim Meyering 1997-11-30 15:14:10 +00:00
  • 468e83a183 *** empty log message *** Jim Meyering 1997-11-30 14:22:56 +00:00
  • 66fbc2c8f6 (savedir): Revert last change. malloc always works when called with zero, because we use the wrapper if the system version is lacking. Jim Meyering 1997-11-30 14:20:17 +00:00
  • 2807179898 *** empty log message *** Jim Meyering 1997-11-30 13:44:02 +00:00
  • 216037574d *** empty log message *** Jim Meyering 1997-11-30 13:43:36 +00:00
  • 4f670edacc *** empty log message *** Jim Meyering 1997-11-30 13:37:44 +00:00
  • 5c3d73a99b (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. Jim Meyering 1997-11-30 13:35:45 +00:00
  • d29ca45595 . Jim Meyering 1997-11-30 13:35:35 +00:00
  • 9e2eec1ca9 *** empty log message *** Jim Meyering 1997-11-30 13:35:25 +00:00
  • e0da3d8d39 filter through cppi Jim Meyering 1997-11-30 11:17:28 +00:00
  • 3f7e011ab0 remove trailing blank Jim Meyering 1997-11-30 11:16:14 +00:00
  • bca6f1740d remove trailing blank Jim Meyering 1997-11-30 11:15:27 +00:00
  • d7d6efb0d7 remove trailing blank Jim Meyering 1997-11-30 11:15:02 +00:00
  • 3203b1d69c *** empty log message *** Jim Meyering 1997-11-30 11:13:34 +00:00
  • fbe1ba7079 . Jim Meyering 1997-11-30 11:13:18 +00:00
  • 00c42a8936 (human_readable): Convert to ANSI-style definition. [lint]: Define `power'. Jim Meyering 1997-11-30 11:10:24 +00:00
  • 5320bf5037 filter through cppi Jim Meyering 1997-11-30 11:08:39 +00:00
  • 79111711fe . Jim Meyering 1997-11-30 11:08:23 +00:00
  • f7acc655f4 (print_long_format): Rename inner-scoped buf' arrays to hbuf' to avoid shadowing local. Jim Meyering 1997-11-30 11:07:49 +00:00
  • e5781fe090 (change_dir_owner): Cast st_size arg to unsigned int in savedir call. Jim Meyering 1997-11-30 11:05:34 +00:00