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

Commit Graph

  • dd3a865a8e . Jim Meyering 1998-01-25 09:47:51 +00:00
  • aaf66a2413 *** empty log message *** Jim Meyering 1998-01-25 09:29:46 +00:00
  • 0eba2a8dd7 (DO_CHOWN): Don't fail for non-root when chown fails due not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson. Jim Meyering 1998-01-25 09:28:48 +00:00
  • 7c04ce1f09 (re_protect): Don't fail for non-root when chown fails due not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson. Jim Meyering 1998-01-25 09:27:57 +00:00
  • 7b4833b03c *** empty log message *** Jim Meyering 1998-01-25 09:23:26 +00:00
  • 3a62f8785f (cat): Convert comma-expressions to pairs of semicolon-terminated stmts. Add braces around compound if/else stmts. Jim Meyering 1998-01-25 08:25:05 +00:00
  • 85923cb2bc add missing `)' Jim Meyering 1998-01-24 23:34:46 +00:00
  • bc05ba3d5a *** empty log message *** Jim Meyering 1998-01-24 23:33:18 +00:00
  • ea2969da49 (parse_obsolescent_option): Do not interpret `-f -n 1 ...' as obsolescent options. Accept new option: --sleep-interval=SECONDS (-s). (parse_options): Recognize it. (usage): Describe it. (tail_forever): Use it. (dump_remainder): Use it. Jim Meyering 1998-01-24 23:33:02 +00:00
  • 0966b97bd1 (f-1): Add test for option-processing of `-f -n 1'. Jim Meyering 1998-01-24 23:32:43 +00:00
  • 8c3fb79a89 . Jim Meyering 1998-01-24 16:48:52 +00:00
  • fc68d2786b *** empty log message *** Jim Meyering 1998-01-24 16:27:26 +00:00
  • 0d26afa6e0 *** empty log message *** Jim Meyering 1998-01-24 16:22:11 +00:00
  • bb964b3eec (test_failure): Note that the SunOS4.1.4 failure of the ctime test is expected. Rename does not update ctime; link does -- so use ln, not mv. Jim Meyering 1998-01-24 16:21:48 +00:00
  • 638776e577 *** empty log message *** Jim Meyering 1998-01-24 15:13:58 +00:00
  • 0881032a16 *** empty log message *** Jim Meyering 1998-01-24 14:50:28 +00:00
  • c58c644f8f *** empty log message *** Jim Meyering 1998-01-24 14:50:16 +00:00
  • 6e602a0232 *** empty log message *** Jim Meyering 1998-01-24 14:49:30 +00:00
  • 097d40b3d3 *** empty log message *** Jim Meyering 1998-01-24 09:55:10 +00:00
  • 57258b3446 . Jim Meyering 1998-01-24 08:46:29 +00:00
  • 39508b8db3 *** empty log message *** Jim Meyering 1998-01-24 08:46:21 +00:00
  • cd4c2d0fdc (TYPE_MINIMUM): Add extra outer cast to work around bug in Cray C 5.0.3.0 when T == time_t. Jim Meyering 1998-01-24 08:45:55 +00:00
  • 8a0550a816 Adjust expected output for changed format of `rm --verbose'. Jim Meyering 1998-01-24 08:43:46 +00:00
  • 663d8b143c *** empty log message *** Jim Meyering 1998-01-23 22:09:18 +00:00
  • 2a1a1843b7 (__mktime_internal): Work around bug in Irix4.0.5's C compiler. From Kaveh Ghazi. (TYPE_MINIMUM): Define. (TYPE_MAXIMUM): Define. (TIME_T_MIN): Use TYPE_MINIMUM. (TIME_T_MAX): Use TYPE_MAXIMUM. Jim Meyering 1998-01-23 22:02:54 +00:00
  • 9c70563ee7 add curlies Jim Meyering 1998-01-23 18:34:12 +00:00
  • 37ce5a5497 . Jim Meyering 1998-01-22 23:29:35 +00:00
  • 37a3052a36 *** empty log message *** Jim Meyering 1998-01-22 09:03:08 +00:00
  • 2a4842f7f3 (quit): Declare to be inline to stifle compile warning. Jim Meyering 1998-01-22 08:58:12 +00:00
  • d82fadf365 Reorder functions to obviate forward dcls. Jim Meyering 1998-01-22 08:55:13 +00:00
  • ef63ce007d (do_copy): Add unreachable `return 0' to stifle warning. Jim Meyering 1998-01-22 08:36:27 +00:00
  • 6a8e657775 . Jim Meyering 1998-01-22 08:33:34 +00:00
  • 309819620b (TESTS_ENVIRONMENT): Add TOUCH. Jim Meyering 1998-01-22 08:33:26 +00:00
  • f7bb262cc8 minor tweaks Jim Meyering 1998-01-22 08:33:02 +00:00
  • d5494d57f5 Don't use -f. Do adjust $RM if it's a relative path. Jim Meyering 1998-01-22 08:32:22 +00:00
  • 14a2593daf Use GNU touch to work around problems with NFS caching and/or clock skew. Jim Meyering 1998-01-22 08:27:16 +00:00
  • 9cdd2e05e6 (copy_internal): Use x->backup_type, not the global. (valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE. Jim Meyering 1998-01-22 08:22:00 +00:00
  • 6cce6a1b7f [NDEBUG]: Comment out definition. (do_copy): Use x->backup_type, not the global. Jim Meyering 1998-01-22 08:19:17 +00:00
  • d9f0ca41bd (rm_option_init): New function. (cp_option_init): New function. (copy_reg): Remove now-unused function. (do_move): Set up for and use copy.c (copy)' in place of copy_reg. Set up for and use remove.c (rm)' in place of unlink. Jim Meyering 1998-01-22 08:16:09 +00:00
  • df7cef21c7 Remove and minimally librarify guts for use in mv.c. (main): Pass options (`&x') to rm. Call remove_init and remove_fini instead of open-coding them. Jim Meyering 1998-01-22 08:14:52 +00:00
  • 9f2d1beded *** empty log message *** Jim Meyering 1998-01-22 08:14:17 +00:00
  • ff59218d54 New file. Contains guts of old rm.c. (remove_init): New function. (remove_fini): New function. Jim Meyering 1998-01-22 08:13:57 +00:00
  • 1a18272561 Declare new global, backup_type. (main): Initialize backup_type unconditionally. (do_link): Call find_backup_file_name with new argument, backup_type. Jim Meyering 1998-01-22 08:13:12 +00:00
  • 2bdf8621d6 Declare new global, backup_type. (main): Initialize backup_type unconditionally. (copy_file): Call find_backup_file_name with new backup_type, argument. Jim Meyering 1998-01-22 08:12:24 +00:00
  • 758ab7a013 *** empty log message *** Jim Meyering 1998-01-21 16:37:09 +00:00
  • 734d1cccc3 (VALID_SPARSE_MODE): Define. [struct cp_options] (backup_type): New member. Jim Meyering 1998-01-21 16:16:00 +00:00
  • 13de1036ac . Jim Meyering 1998-01-21 15:59:28 +00:00
  • 2167febcb1 Fix copyright Jim Meyering 1998-01-21 15:57:48 +00:00
  • 2c11b736aa Use ANSI function definitions. Remove global declaration of backup_type. (simple_backup_suffix): Default to ~', not .orig'. Use PARAMS, not __BACKUPFILE_P. (find_backup_file_name): Add parameter, backup_type. Jim Meyering 1998-01-21 15:57:18 +00:00
  • a52e0efbe2 Remove extern declaration of backup_type. Use PARAMS, not __BACKUPFILE_P. (VALID_BACKUP_TYPE): Define. (find_backup_file_name): Adjust prototype. Jim Meyering 1998-01-21 15:55:12 +00:00
  • 4935348b67 Use ANSI function definitions. Jim Meyering 1998-01-20 11:34:38 +00:00
  • e6a0306b1b [enum backup_type]: Set `none' to 1. Jim Meyering 1998-01-20 11:34:04 +00:00
  • 2bec121abb add `,' in comment Jim Meyering 1998-01-19 09:29:27 +00:00
  • 412043f1d8 . Jim Meyering 1998-01-18 11:52:44 +00:00
  • 4ffa362cc4 *** empty log message *** Jim Meyering 1998-01-18 11:52:38 +00:00
  • 35592ba64c (strncoll, strncoll_s2_readonly, look_for_fraction, numcompare): Remove the unsigned' from some unsigned char*' parameter types. Add casts via UCHAR where necessary to avoid problems with unwanted sign extension. Based on a patch from Kaveh Ghazi to appease Irix4's cc compiler. e.g., > cc -DLOCALEDIR=\"/caip/u3/ghazi/foobar/share/locale\" -DHAVE_CONFIG_H > -I.. -I../../src -I../../lib -I../intl -c ../../src/sort.c > accom: Error: ../../src/sort.c, line 500: prototype parameter 1 type > must have all of the actual arguments qualifiers (except the > outermost) and pointed-to types must be compatible (ANSI > 3.3.2.2,3.3.16.1) > diff = strcoll (s1, s2); > ----------------------------^ > accom: Error: ../../src/sort.c, line 500: Argument 1 Type Doesn't > Match prototype description; prototype: pointer to const char is > different from actual: pointer to unsigned char > diff = strcoll (s1, s2); > ----------------------------^ > accom: Error: ../../src/sort.c, line 500: prototype parameter 2 type > must have all of the actual arguments qualifiers (except the > outermost) and pointed-to types must be compatible (ANSI > 3.3.2.2,3.3.16.1) > diff = strcoll (s1, s2); > ----------------------------^ > accom: Error: ../../src/sort.c, line 500: Argument 2 Type Doesn't > Match prototype description; prototype: pointer to const char is > different from actual: pointer to unsigned char > diff = strcoll (s1, s2); > ----------------------------^ Jim Meyering 1998-01-18 11:51:08 +00:00
  • c1618a8c4c (next_file_name): Rewrite. This removes an artificial limit (albeit already high, at INT_MAX :-) on the number of files split could create. Reported by Ralf W. Stephan. Jim Meyering 1998-01-18 11:18:08 +00:00
  • 96be8bca99 Guard inclusion of langinfo.h also with HAVE_LANGINFO_H, for Irix-4.0.5. From Kaveh Ghazi. Jim Meyering 1998-01-16 23:29:24 +00:00
  • b8a16a3f2a (mergefps): Add braces to avoid ambiguous `else' statement. (nls_set_fraction): Likewise. Jim Meyering 1998-01-16 23:23:04 +00:00
  • f1217e4976 . Jim Meyering 1998-01-16 11:18:05 +00:00
  • 62279c6e2d . Jim Meyering 1998-01-16 11:17:02 +00:00
  • 71545a6276 Make PARAMS-defining conditionals consistent. Jim Meyering 1998-01-16 08:52:30 +00:00
  • 53cfcbd19c Make PARAMS-defining conditionals consistent. Jim Meyering 1998-01-16 08:51:39 +00:00
  • 5618133eed (fail-0): Disable test. It depends on sizeof(long) being 32 bits. Reported by Kaveh Ghazi. Jim Meyering 1998-01-16 08:04:19 +00:00
  • ade1f58e11 (print_header): Fix inode format header to line it up with the rest of the output. Jim Meyering 1998-01-14 08:52:56 +00:00
  • 74cf3e8bab Set errno to ENOENT, not EINVAL. This is consistent with most other implementations. Jim Meyering 1998-01-13 10:08:11 +00:00
  • ca50e875af *** empty log message *** Jim Meyering 1998-01-13 09:53:15 +00:00
  • a75ea1014e *** empty log message *** Jim Meyering 1998-01-12 09:00:10 +00:00
  • 98af2e9636 *** empty log message *** Jim Meyering 1998-01-12 08:55:42 +00:00
  • 68e5877403 *** empty log message *** Jim Meyering 1998-01-12 08:55:01 +00:00
  • 2b906615c2 *** empty log message *** Jim Meyering 1998-01-12 08:53:18 +00:00
  • 443f852f61 Include sys/param.h only #if HAVE_SYS_PARAM_H. Move function-spanning `#if ...BSIZE' stmt to follow inclusion of sys/param.h since BSIZE is sometimes defined in sys/param.h. Based on a patch from Philippe De Muyter. Jim Meyering 1998-01-12 08:13:39 +00:00
  • d1f4e617b5 *** empty log message *** TEXTUTILS-1_22d Jim Meyering 1998-01-11 09:24:17 +00:00
  • 1aa070dd2e . FILEUTILS-3_16k Jim Meyering 1998-01-11 09:14:29 +00:00
  • 007e81132a . Jim Meyering 1998-01-11 09:14:02 +00:00
  • 6bcfff640e *** empty log message *** Jim Meyering 1998-01-11 09:12:30 +00:00
  • aa2880362c . Jim Meyering 1998-01-11 08:02:39 +00:00
  • 88bd90109b *** empty log message *** Jim Meyering 1998-01-10 22:13:49 +00:00
  • dba300a0d0 CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX Remove definitions of those symbols. * src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h since it now includes limit.h which defines RE_DUP_MAX. * src/nl.c: Likewise. * src/tac.c: Likewise. Jim Meyering 1998-01-10 22:12:03 +00:00
  • b9ed71e46e . Jim Meyering 1998-01-10 20:53:56 +00:00
  • 7bba3e945f initialize fail to 0 Jim Meyering 1998-01-10 16:25:46 +00:00
  • 1bdfcabd2c . Jim Meyering 1998-01-10 16:24:46 +00:00
  • c88a4c91da (EXTRA_DIST): Add const.m4. Jim Meyering 1998-01-10 16:24:26 +00:00
  • 136f2fd28c . Jim Meyering 1998-01-10 15:57:57 +00:00
  • 82739833a1 *** empty log message *** Jim Meyering 1998-01-10 15:09:46 +00:00
  • 1c5c2597b5 *** empty log message *** Jim Meyering 1998-01-10 15:08:00 +00:00
  • eacbf12ea4 *** empty log message *** Jim Meyering 1998-01-10 15:04:32 +00:00
  • 0ccdf3419d (usage): Describe -D. Jim Meyering 1998-01-10 15:03:58 +00:00
  • cec85a4b3a . Jim Meyering 1998-01-10 14:25:27 +00:00
  • a077a7833c *** empty log message *** Jim Meyering 1998-01-10 14:23:08 +00:00
  • a3094b0529 (batch_convert): Use memcpy when we don't need return value. Jim Meyering 1998-01-10 14:21:35 +00:00
  • d73dd15544 . Jim Meyering 1998-01-10 13:36:47 +00:00
  • 27c1ad9576 *** empty log message *** Jim Meyering 1998-01-10 13:36:09 +00:00
  • 2eefbf7647 (usage): Correct descriptions of --sort, --time, and -t. Suggestions from Andreas Schwab. Jim Meyering 1998-01-10 12:53:09 +00:00
  • 79d39ab7bf (decode_switches) [-u]: Fix bug whereby -u had no effect without -l or -t. Now, -u (like -c) implies --sort=time. Suggestion from Andreas Schwab. Jim Meyering 1998-01-10 12:07:50 +00:00
  • 12782f54b0 *** empty log message *** Jim Meyering 1998-01-10 11:56:26 +00:00
  • fff6de7b04 *** empty log message *** Jim Meyering 1998-01-10 11:54:39 +00:00
  • cc76db2016 use sh-script test, not Test.pm framework Jim Meyering 1998-01-10 11:27:24 +00:00
  • 77c94909cf *** empty log message *** Jim Meyering 1998-01-10 11:24:51 +00:00
  • 3b8d19272d . Jim Meyering 1998-01-10 11:00:46 +00:00