summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-02-27(copy): Remove bogus (now that we're using full_write) increment of w_partial.Jim Meyering
Change sense of the tests (though they're equivalent) that check the value returned by full_write. making it clearer where errno is valid. full_write always writes the full amount or fails.
1996-02-25.Jim Meyering
1996-02-25(batch_convert): Put `' around filename in error in case it's empty.Jim Meyering
1996-02-24__P-protect forward declarations.Jim Meyering
(main): Protoize function definition.
1996-02-24(cmpf): Indent macro uses so ansi2knr doesn't mistake themJim Meyering
for function dcls and munge them. (arithf): Likewise. (arithdivf): Likewise.
1996-02-23(docolon): Set re_syntax_options to RE_SYNTAX_POSIX_BASICJim Meyering
so expr's pattern matching uses BASIC (not GNU-extended) REs. Reported by Jim Kingdon.
1996-02-23(print_entry): Use strchr, not index.Jim Meyering
1996-02-23(batch_convert): Declare BUFLEN local to be of type size_t, not int.Jim Meyering
1996-02-22(xfields) [without -t]: Ignore leading blanks.Jim Meyering
From David Dyck (dcd@tc.fluke.COM).
1996-02-18[TOLOWER]: Define.Jim Meyering
(usage): Briefly describe new --ignore-case (-i) option. (memcasecmp): New function. (main): Set IGNORE_CASE for -i. (keycmp): Compare with memcasecmp if IGNORE_CASE is set. Suggestion and an initial patch from Alberto Accomazzi <alberto@cfa0.harvard.edu>.
1996-02-18Add -z option. Change all occurrences of '\n' to `eolchar'.Jim Meyering
(usage): Describe it. (main): Set eolchar to 0 for -z. From Mark W. Eichin <eichin@cygnus.com>.
1996-02-17Mark a few error strings for translation.Jim Meyering
From Franc,ois Pinard.
1996-02-16(copy): Detect (and fail) when creating backup file would destroy source.Jim Meyering
Reported by Martin C. Martin <mcm@cs.cmu.edu>.
1996-02-14(main): When failing because there were `too many arguments,' say so.Jim Meyering
1996-02-13(print_entry): If possible, canonicalize the host hame.Jim Meyering
From Miles Bader (miles@gnu.ai.mit.edu).
1996-02-13[.TRUE]: Undefine before defining.Jim Meyering
[FALSE]: Undefine before defining. From Derek Clegg (dclegg@next.com).
1996-02-01(main): Decalare local, BS.Jim Meyering
1996-02-01(main): Accept new option, --rfc-822 (-R).Jim Meyering
(show_date): Use RFC822-mandated strftime format. From H. Peter Anvin (hpa@storm.net). (usage): Add a line describing the new option.
1996-02-01(main): New options --human-readable (-h) and --megabytes (-m).Jim Meyering
(human_readable_1k_blocks): New function. (print_header): Honor new options. (show_dev): Honor new options. Add ifdef'd-out code to avoid printing lines for mount points that match ^/auto/.* and ^/tmp_mnt.*. Rather than hard-coding those two prefixes, the code should allow the user to specify a regular expression. From Larry McVoy (lm@sgi.com). (human_readable_1k_blocks): Likewise (usage): Update usage message to reflect additions.
1996-02-01(dump_remainder): Flush stdout when tailing-forever on multiple files.Jim Meyering
From Carlos Canau <Carlos.Canau@relay.puug.pt>.
1996-02-01Remove comma after last item in enum.Jim Meyering
(human_readable): Fix off-by-one error that converted 1024*1024 to 1024K rather than 1G. Describe the function.
1996-02-01(skip): Change type of parameter #5 from char* to unsigned char* to matchJim Meyering
type of argument. (copy): Cast first arg in memset call to char* to avoid warnings from SunOS's acc. (copy_simple): Likewise.
1996-01-20Tweak usage.Jim Meyering
1996-01-20(main): New options --human-readable (-h) and --megabytes (-m).Jim Meyering
(human_readable): New function. From Larry McVoy (lm@sgi.com).
1996-01-20(usage): Copy backup/suffix stuff from ln.c.Jim Meyering
(main): Handle 'S' in getopt switch.
1996-01-19(copy_files): Accept backup options just as cp, ln, andJim Meyering
mv do: --backup (-b). From Marty Leisner <leisner@sdsp.mc.xerox.c>.
1996-01-19Protoize.Jim Meyering
1996-01-17(argdecode): Declare parameter const.Jim Meyering
1996-01-17(advance): Protoize function.Jim Meyering
1996-01-17Break some long lines.Jim Meyering
Add const attribute to a few parameters.
1996-01-17(integer_arg): Use xstrtol instead of open-coding this.Jim Meyering
1996-01-17(visible): Change parameter type to unsigned int from unsigned char.Jim Meyering
1996-01-17Protoize and __P-protect forward dcls.Jim Meyering
1996-01-14Indent cpp directives.Jim Meyering
1996-01-14.Jim Meyering
1996-01-14Include config.h.Jim Meyering
1996-01-07(print_element): Change type of argument from charJim Meyering
to int to avoid potential promotion problem.
1996-01-07(print_esc_char): Change type of argument from char to int to avoidJim Meyering
potential promotion problem.
1996-01-07Fix typo in __P use.Jim Meyering
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1996-01-06Define WHO and include new file, who-users.c.Jim Meyering
1996-01-06.Jim Meyering
1996-01-06rename from who.cJim Meyering
1996-01-06Remove NGROUPS_MAX junk. It wasn't being used.Jim Meyering
1996-01-06(putenv): Declare.Jim Meyering
(universal_time): Remove. (main): If -u is given, set TZ to "UTC0"; this causes date to use UTC uniformly and fixes bugs in the handling of date -u +'%s %Z'. (show_date): Just use localtime and a single format, since TZ will be set properly if -u is given. From Paul Eggert.
1996-01-06Remove no-longer-used NGROUPS_MAX cpp macros.Jim Meyering
(print_group_list) [HAVE_GETGROUPS]: Reorganize to use getgroups (0, NULL) to compute number of groups at run time rather than relying on NGROUPS_MAX at compile time. (print_full_info) [HAVE_GETGROUPS]: Likewise. Suggestion from Roland McGrath.
1996-01-05Include rx.h after limit.h to avoid warning aboutJim Meyering
redeclaration of RE_DUP_MAX in limit.h. rx.h protects its definition. From Kaveh Ghazi.
1996-01-04(usage): Tweak wording in --help output.Jim Meyering
1996-01-02(keycompare): Rewrite cases handling -i and -if to fix bug wherebyJim Meyering
non-ascii characters (supposed to be ignored with -i) were treated as significant. Reported by Carl Johnson <carlj@cjlinux.home.org>.
1995-12-31(extract_regexp) [!WITH_REGEX]: Initialize re_compiled.syntax_parens.Jim Meyering
From Andreas Schwab.