summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-02-06*** empty log message ***Jim Meyering
1998-02-06.Jim Meyering
1998-02-03add comments on #endif'sJim Meyering
1998-02-03(xgetgroups): Guard function defn with #if HAVE_GETGROUPS.Jim Meyering
1998-01-28(print_header): Change format to align heading overJim Meyering
last column of `df -i' output. From Andreas Schwab.
1998-01-25(parse_obsolescent_option): -l is an obsolescent option.Jim Meyering
1998-01-25(DO_CHOWN): Don't fail for non-root when chown fails dueJim Meyering
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson.
1998-01-25(re_protect): Don't fail for non-root when chown fails dueJim Meyering
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson.
1998-01-25(cat): Convert comma-expressions to pairs ofJim Meyering
semicolon-terminated stmts. Add braces around compound if/else stmts.
1998-01-24add missing `)'Jim Meyering
1998-01-24(parse_obsolescent_option): Do not interpret `-f -n 1 ...'Jim Meyering
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.
1998-01-24(TYPE_MINIMUM): Add extra outer cast to work aroundJim Meyering
bug in Cray C 5.0.3.0 when T == time_t.
1998-01-23add curliesJim 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(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(VALID_SPARSE_MODE): Define.Jim Meyering
[struct cp_options] (backup_type): New member.
1998-01-19add `,' in commentJim 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-14(print_header): Fix inode format header to line it upJim Meyering
with the rest of the output.
1998-01-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim Meyering
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.
1998-01-10(usage): Describe -D.Jim Meyering
1998-01-10(batch_convert): Use memcpy when we don't need return value.Jim Meyering
1998-01-10(usage): Correct descriptions of --sort, --time, and -t.Jim Meyering
Suggestions from Andreas Schwab.
1998-01-10(decode_switches) [-u]: Fix bug whereby -u had no effectJim Meyering
without -l or -t. Now, -u (like -c) implies --sort=time. Suggestion from Andreas Schwab.
1998-01-08(tac_stream): Don't perform arithmetic on now-void pointerJim Meyering
result of xrealloc (until recently it was char*).
1998-01-08(inittables): Add && HAVE_NL_LANGINFO to the #if-testJim Meyering
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.
1998-01-05(df_readable): New function.Jim Meyering
(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.
1998-01-05reindent a littleJim Meyering
1998-01-05reformat comment, dcl fail, dirnameJim Meyering
1998-01-05remove SPECIAL_BITS #ifdefsJim Meyering
1998-01-05Add support for marty's -D optionJim Meyering
1998-01-04copyrightJim Meyering
1998-01-04(main, usage): Check for write error to stdout before exiting.Jim Meyering
Include "closeout.h".
1998-01-04Use a single enumerated type, Verbosity, instead ofJim Meyering
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.
1998-01-04Use a single enumerated type, Verbosity, instead ofJim Meyering
the two booleans, verbose and changes_only. This fixes a bug whereby --change had the same effect as --verbose.
1998-01-03(show_dev): Treat `fsu.fsu_bavail == (unsigned long) -1'Jim Meyering
just like `fsu.fsu_blocks == 0' as an indicator that usage information is invalid. This happens with Solaris-5.5.1 CD-ROM partitions.
1998-01-02(get_ids): When otherwise unspecified, set uid and gid to -1.Jim Meyering
1998-01-01(remove_cwd_entries): Initialize the entry-name obstackJim Meyering
only once and never free it.