summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
1998-01-01(show_dev): Move check for 0-block device (and return ifJim Meyering
not e.g., -a) back up to precede first print stmt.
1997-12-31(show_dev): Print inode counts human readably.Jim Meyering
1997-12-31(decode_switches): -h and -H override output units.Jim Meyering
(print_dir, gobble_file, print_long_format, print_file_name_and_frills): Print disk allocations human readably.
1997-12-31(show_dev): Move computation ofJim Meyering
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.
1997-12-29(usage): s/TAB/ /gJim Meyering
1997-12-29(remove_cwd_entries): Plug a gross leak -- don't callJim Meyering
obstack_init inside the loop.
1997-12-29(usage): Replace TABs with spaces in --help message.Jim Meyering
1997-12-28Remove incorrect declaration of group_member.Jim Meyering
Include group-member.h instead. Based on suggestion from Ulrich Drepper.
1997-12-25(get_ids): Don't cast GID_T_MAX to long, it might overflow.Jim Meyering
1997-12-25(skip): Compare lseek return value with -1 to allow itJim Meyering
to be negative as signed value.
1997-12-25(S_ISLNK): Define this instead of S_ISDIR.Jim Meyering
1997-12-25Declare stpcpy only if not defined as macro.Jim Meyering
1997-12-25(copy_internal): Use S_ISLNK only if defined.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
1997-12-21Don't include limits.h or sys/param.h.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
These are all done in system.h now.
1997-12-21Don't include limits.h.Jim Meyering
(UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now.
1997-12-21Use PARAMS, not __P.Jim Meyering
1997-12-21Include exclude.h.Jim Meyering
(exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries.
1997-12-21Include exclude.h.Jim Meyering
(exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries.
1997-12-16s/__P/PARAMS/gJim Meyering