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

Commit Graph

  • 6099914170 *** empty log message *** Jim Meyering 1998-01-10 10:36:41 +00:00
  • 09d96ac539 (make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once. Suggestion from Andreas Schwab. Jim Meyering 1998-01-10 10:28:37 +00:00
  • 3edbca0e04 (make_path): Put only newly created directories on the LEADING_DIRS list. Jim Meyering 1998-01-10 10:22:30 +00:00
  • c062a35803 *** empty log message *** Jim Meyering 1998-01-08 23:17:20 +00:00
  • 3da029a5d9 *** empty log message *** Jim Meyering 1998-01-08 23:16:14 +00:00
  • de1dabf7d7 *** empty log message *** Jim Meyering 1998-01-08 22:58:18 +00:00
  • 03283b5000 (tac_stream): Don't perform arithmetic on now-void pointer result of xrealloc (until recently it was char*). Jim Meyering 1998-01-08 22:58:03 +00:00
  • 9f5dc7e7d0 (inittables): Add && HAVE_NL_LANGINFO to the #if-test guarding the nls month-checking code. (nls_numeric_format): Remove unnecessary (and error-evoking w/SunOS' cc) unsigned' from dcls of text and lim. (main): Cast lconvp->grouping to unsigned char*' to appease SunOS's cc. Jim Meyering 1998-01-08 22:56:45 +00:00
  • ab9cd27938 *** empty log message *** Jim Meyering 1998-01-07 07:45:46 +00:00
  • c767a49741 *** empty log message *** Jim Meyering 1998-01-06 23:53:50 +00:00
  • 0fdd1b9130 Add %expect directive. Move inclusion of getdate.h and dependent extern declarations down so getdate.h's prototype follows the sometimes-enabled definition of const' to nothing. Otherwise, the prototype wouldn't match the definition because of the defined-away const'. (get_date): ANSI-fy definition. From Kaveh Ghazi. Jim Meyering 1998-01-06 23:53:33 +00:00
  • f19ca6fe29 *** empty log message *** Jim Meyering 1998-01-05 17:43:31 +00:00
  • 6cc3cf776c (df_readable): New function. (show_dev): If a value consists entirely of 1 bits, or is derived from some other value that consists entirely of 1 bits, report "-". Check inode and block counts more carefully for plausibility, to avoid arithmetic overflow when computing percentages. Jim Meyering 1998-01-05 17:43:00 +00:00
  • e162abfc5b (get_fs_usage): Add parens. Jim Meyering 1998-01-05 17:38:38 +00:00
  • 866773c72a (PROPAGATE_ALL_ONES): New macro. (get_fs_usage): If a value consists entirely of 1 bits, propagate this info to the output by setting it to (uintmax_t) -1. Jim Meyering 1998-01-05 17:33:54 +00:00
  • 06bab849fc reindent a little Jim Meyering 1998-01-05 10:11:08 +00:00
  • ed0becde29 reformat comment, dcl fail, dirname Jim Meyering 1998-01-05 10:09:24 +00:00
  • 8d64a37a77 remove SPECIAL_BITS #ifdefs Jim Meyering 1998-01-05 10:06:41 +00:00
  • 0520188821 Add support for marty's -D option Jim Meyering 1998-01-05 10:06:07 +00:00
  • 05d9a7233b *** empty log message *** FILEUTILS-3_16j Jim Meyering 1998-01-04 23:28:28 +00:00
  • f664e44a2f *** empty log message *** Jim Meyering 1998-01-04 23:27:12 +00:00
  • 5705eaaee2 . Jim Meyering 1998-01-04 22:54:19 +00:00
  • 0e69432852 . Jim Meyering 1998-01-04 22:46:40 +00:00
  • 2d69426882 copyright Jim Meyering 1998-01-04 22:46:23 +00:00
  • 5d4f8ebdfd (main, usage): Check for write error to stdout before exiting. Include "closeout.h". Jim Meyering 1998-01-04 22:45:28 +00:00
  • b246280c27 (parse_long_options): Check for write error to stdout before exiting. Jim Meyering 1998-01-04 22:43:44 +00:00
  • 60e021ee4e (libfu_a_SOURCES): Add closeout.c. (noinst_HEADERS): Add closeout.h. Jim Meyering 1998-01-04 22:42:38 +00:00
  • 63c0f480ad Use a single enumerated type, Verbosity, instead of the two booleans, verbose and changes_only. This fixes a bug whereby --change had the same effect as --verbose. Plus Paul's close_stdout changes. Jim Meyering 1998-01-04 22:41:02 +00:00
  • e375f4e9c8 Use a single enumerated type, Verbosity, instead of the two booleans, verbose and changes_only. This fixes a bug whereby --change had the same effect as --verbose. Jim Meyering 1998-01-04 22:40:27 +00:00
  • 109b9c5f94 . Jim Meyering 1998-01-04 21:48:30 +00:00
  • 126c1a40e5 . Jim Meyering 1998-01-04 21:47:31 +00:00
  • 2440fd8bac . Jim Meyering 1998-01-03 22:53:52 +00:00
  • 98b9c4bed7 . Jim Meyering 1998-01-03 22:16:23 +00:00
  • 40f708f534 . Jim Meyering 1998-01-03 22:14:58 +00:00
  • ebc5dc0b0c *** empty log message *** Jim Meyering 1998-01-03 22:13:53 +00:00
  • e0ed4e6a77 *** empty log message *** Jim Meyering 1998-01-03 18:10:47 +00:00
  • c24393e0fd *** empty log message *** Jim Meyering 1998-01-03 18:09:23 +00:00
  • e15db4ca81 *** empty log message *** Jim Meyering 1998-01-03 16:47:35 +00:00
  • 1059e96721 (show_dev): Treat fsu.fsu_bavail == (unsigned long) -1' just like fsu.fsu_blocks == 0' as an indicator that usage information is invalid. This happens with Solaris-5.5.1 CD-ROM partitions. Jim Meyering 1998-01-03 16:47:21 +00:00
  • 234ea05171 *** empty log message *** Jim Meyering 1998-01-03 14:40:33 +00:00
  • 0fa007e352 *** empty log message *** Jim Meyering 1998-01-03 12:03:01 +00:00
  • 9e6b379dbf *** empty log message *** Jim Meyering 1998-01-03 11:58:49 +00:00
  • d46bab3a59 Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent. Jim Meyering 1998-01-03 11:56:58 +00:00
  • 541699c01c Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi. Jim Meyering 1998-01-03 11:56:09 +00:00
  • 23a8ea7992 *** empty log message *** FILEUTILS-3_16i Jim Meyering 1998-01-02 23:18:08 +00:00
  • 6b4321fd1b *** empty log message *** Jim Meyering 1998-01-02 23:16:53 +00:00
  • 2fb86e2eb8 (get_ids): When otherwise unspecified, set uid and gid to -1. Jim Meyering 1998-01-02 23:16:38 +00:00
  • 53bc7b04cb (make_path): Try to change ownership only if we've just created the directory. Fix latent bug (s/&&/||/ in two places -- also, note that it could not be exercised via install or mkdir) whereby chown would not be invoked when only one of owner/group is not -1. Jim Meyering 1998-01-02 23:15:39 +00:00
  • 43c2a5f62b *** empty log message *** Jim Meyering 1998-01-01 21:33:29 +00:00
  • b3d19ee824 (remove_cwd_entries): Initialize the entry-name obstack only once and never free it. Jim Meyering 1998-01-01 21:32:46 +00:00
  • 2c2fa642c4 (show_dev): Move check for 0-block device (and return if not e.g., -a) back up to precede first print stmt. Jim Meyering 1998-01-01 21:30:00 +00:00
  • cb5e8a14c2 *** empty log message *** Jim Meyering 1998-01-01 19:45:43 +00:00
  • 48221eb8bd *** empty log message *** Jim Meyering 1998-01-01 19:44:02 +00:00
  • 3e6934d53e *** empty log message *** Jim Meyering 1998-01-01 19:41:47 +00:00
  • 741e2bd94b *** empty log message *** Jim Meyering 1998-01-01 19:36:19 +00:00
  • 0327bae400 *** empty log message *** Jim Meyering 1997-12-31 21:36:14 +00:00
  • e3d35f6789 (show_dev): Print inode counts human readably. Jim Meyering 1997-12-31 21:34:07 +00:00
  • b76a453304 (decode_switches): -h and -H override output units. (print_dir, gobble_file, print_long_format, print_file_name_and_frills): Print disk allocations human readably. Jim Meyering 1997-12-31 21:33:51 +00:00
  • 069e564d89 . Jim Meyering 1997-12-31 14:28:44 +00:00
  • cadfe29978 *** empty log message *** Jim Meyering 1997-12-31 14:04:54 +00:00
  • da111683d5 (show_dev): Move computation of blocks_used etc. and blocks_percent_used, inodes_used etc. and inodes_percent_used into respective branches of the `if (inode_format)' statement where they're actually used. Jim Meyering 1997-12-31 14:04:20 +00:00
  • 57da248b85 *** empty log message *** Jim Meyering 1997-12-31 11:01:48 +00:00
  • b66148ba39 Define and use PARAMS, not __EXCLUDE_P. Jim Meyering 1997-12-31 11:01:35 +00:00
  • 86d2f9eaa8 Use PARAMS, not __EXCLUDE_P. Jim Meyering 1997-12-31 11:01:18 +00:00
  • 25e06fece0 (usage): s/TAB/ /g Jim Meyering 1997-12-29 22:09:28 +00:00
  • d1de57abbc *** empty log message *** Jim Meyering 1997-12-29 21:29:51 +00:00
  • 5cc8090de2 (remove_cwd_entries): Plug a gross leak -- don't call obstack_init inside the loop. Jim Meyering 1997-12-29 21:04:26 +00:00
  • e2ed51f99e *** empty log message *** Jim Meyering 1997-12-29 12:06:02 +00:00
  • 134ed86e33 (usage): Replace TABs with spaces in --help message. Jim Meyering 1997-12-29 12:05:36 +00:00
  • f7d4fc0e38 (invalid_arg): Use a single fprintf and whole format statements to ease translation. Convert from K&R to ANSI function dcls. Jim Meyering 1997-12-29 12:02:43 +00:00
  • 3531b69552 . Jim Meyering 1997-12-28 21:49:54 +00:00
  • ce9923ab87 Use ANSI syntax, not K&R. Jim Meyering 1997-12-28 10:41:01 +00:00
  • 6d02c37081 *** empty log message *** Jim Meyering 1997-12-28 10:38:30 +00:00
  • b2e7f8b0af (make_path) [!__STDC__]: Remove K&R-style definition. Jim Meyering 1997-12-28 10:38:15 +00:00
  • 08c3f260a1 define PARAMS Jim Meyering 1997-12-28 09:48:26 +00:00
  • cde7e42dde Add PARAMS. Jim Meyering 1997-12-28 08:04:08 +00:00
  • 4656a7e55b Remove incorrect declaration of group_member. Include group-member.h instead. Based on suggestion from Ulrich Drepper. Jim Meyering 1997-12-28 08:03:54 +00:00
  • 3513f31730 *** empty log message *** FILEUTILS-3_16h Jim Meyering 1997-12-27 23:55:40 +00:00
  • 1bcedd2345 *** empty log message *** Jim Meyering 1997-12-27 23:55:18 +00:00
  • 456d579624 . Jim Meyering 1997-12-25 23:06:12 +00:00
  • c02b9b75c6 new version from kb Jim Meyering 1997-12-25 18:00:21 +00:00
  • 012a6455ea . Jim Meyering 1997-12-25 17:51:15 +00:00
  • bb48c492c6 (_GNU_SOURCE): Define only if not already defined. Jim Meyering 1997-12-25 17:44:08 +00:00
  • 1a952f8145 . Jim Meyering 1997-12-25 17:43:21 +00:00
  • 2bb1686d0c . Jim Meyering 1997-12-25 17:05:45 +00:00
  • 1f1ea6519b (get_ids): Don't cast GID_T_MAX to long, it might overflow. Jim Meyering 1997-12-25 17:05:23 +00:00
  • f10648f6c7 (skip): Compare lseek return value with -1 to allow it to be negative as signed value. Jim Meyering 1997-12-25 17:04:15 +00:00
  • d9f1fd86d9 Declare stpcpy only if not defined as macro. Jim Meyering 1997-12-25 17:02:25 +00:00
  • ea0f644cdd (S_ISLNK): Define this instead of S_ISDIR. Jim Meyering 1997-12-25 17:01:35 +00:00
  • 4f71c21910 Declare stpcpy only if not defined as macro. Jim Meyering 1997-12-25 17:01:13 +00:00
  • 9897ca0150 Declare stpcpy only if not defined as macro. Jim Meyering 1997-12-25 16:49:08 +00:00
  • 1a8e1f7bfd Include <string.h> if available. Jim Meyering 1997-12-25 16:48:51 +00:00
  • c9f538deb9 (copy_internal): Use S_ISLNK only if defined. Jim Meyering 1997-12-25 16:48:29 +00:00
  • 88df9ef6f6 . Jim Meyering 1997-12-24 13:16:54 +00:00
  • 46e9b477a9 *** empty log message *** Jim Meyering 1997-12-21 22:48:24 +00:00
  • 82e77237a6 . Jim Meyering 1997-12-21 22:48:08 +00:00
  • f54368ec1b s/__P/PARAMS/ Jim Meyering 1997-12-21 22:39:53 +00:00
  • 44dddb31c0 *** empty log message *** Jim Meyering 1997-12-21 22:32:44 +00:00
  • 2e308957d4 s/__P/PARAMS/ Jim Meyering 1997-12-21 22:30:30 +00:00
  • 2391251527 Don't include limits.h. Jim Meyering 1997-12-21 22:22:04 +00:00