summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-01-22.Jim Meyering
1998-01-22*** empty log message ***Jim Meyering
1998-01-22(quit): Declare to be inline to stifle compile warning.Jim Meyering
1998-01-22Reorder functions to obviate forward dcls.Jim Meyering
1998-01-22(do_copy): Add unreachable `return 0' to stifle warning.Jim Meyering
1998-01-22.Jim Meyering
1998-01-22(TESTS_ENVIRONMENT): Add TOUCH.Jim Meyering
1998-01-22minor tweaksJim Meyering
1998-01-22Don't use -f. Do adjust $RM if it's a relative path.Jim Meyering
1998-01-22Use GNU touch to work around problems with NFS caching and/or clock skew.Jim Meyering
1998-01-22(copy_internal): Use x->backup_type, not the global.Jim Meyering
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE.
1998-01-22[NDEBUG]: Comment out definition.Jim Meyering
(do_copy): Use x->backup_type, not the global.
1998-01-22(rm_option_init): New function.Jim Meyering
(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.
1998-01-22Remove and minimally librarify guts for use in mv.c.Jim Meyering
(main): Pass options (`&x') to rm. Call remove_init and remove_fini instead of open-coding them.
1998-01-22*** empty log message ***Jim Meyering
1998-01-22New file. Contains guts of old rm.c.Jim Meyering
(remove_init): New function. (remove_fini): New function.
1998-01-22Declare new global, backup_type.Jim Meyering
(main): Initialize backup_type unconditionally. (do_link): Call find_backup_file_name with new argument, backup_type.
1998-01-22Declare new global, backup_type.Jim Meyering
(main): Initialize backup_type unconditionally. (copy_file): Call find_backup_file_name with new backup_type, argument.
1998-01-21*** empty log message ***Jim Meyering
1998-01-21(VALID_SPARSE_MODE): Define.Jim Meyering
[struct cp_options] (backup_type): New member.
1998-01-21.Jim Meyering
1998-01-21Fix copyrightJim Meyering
1998-01-21Use ANSI function definitions.Jim Meyering
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.
1998-01-21Remove extern declaration of backup_type.Jim Meyering
Use PARAMS, not __BACKUPFILE_P. (VALID_BACKUP_TYPE): Define. (find_backup_file_name): Adjust prototype.
1998-01-20Use ANSI function definitions.Jim Meyering
1998-01-20[enum backup_type]: Set `none' to 1.Jim Meyering
1998-01-19add `,' in commentJim Meyering
1998-01-18.Jim Meyering
1998-01-18*** empty log message ***Jim Meyering
1998-01-18(strncoll, strncoll_s2_readonly, look_for_fraction, numcompare):Jim Meyering
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); > ----------------------------^
1998-01-18(next_file_name): Rewrite. This removes an artificial limit (albeitJim Meyering
already high, at INT_MAX :-) on the number of files split could create. Reported by Ralf W. Stephan.
1998-01-16Guard inclusion of langinfo.h also with HAVE_LANGINFO_H,Jim Meyering
for Irix-4.0.5. From Kaveh Ghazi.
1998-01-16(mergefps): Add braces to avoid ambiguous `else' statement.Jim Meyering
(nls_set_fraction): Likewise.
1998-01-16.Jim Meyering
1998-01-16.Jim Meyering
1998-01-16Make PARAMS-defining conditionals consistent.Jim Meyering
1998-01-16Make PARAMS-defining conditionals consistent.Jim Meyering
1998-01-16(fail-0): Disable test. It depends onJim Meyering
sizeof(long) being 32 bits. Reported by Kaveh Ghazi.
1998-01-14(print_header): Fix inode format header to line it upJim Meyering
with the rest of the output.
1998-01-13Set errno to ENOENT, not EINVAL. This is consistentJim Meyering
with most other implementations.
1998-01-13*** empty log message ***Jim Meyering
1998-01-12*** empty log message ***Jim Meyering
1998-01-12*** empty log message ***Jim Meyering
1998-01-12*** empty log message ***Jim Meyering
1998-01-12*** empty log message ***Jim Meyering
1998-01-12Include sys/param.h only #if HAVE_SYS_PARAM_H.Jim Meyering
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.
1998-01-11*** empty log message ***Jim Meyering
1998-01-11.Jim Meyering
1998-01-11.Jim Meyering
1998-01-11*** empty log message ***Jim Meyering