summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-21(main): Declare to return int, not void. From Peter SeebachJim Meyering
<seebs@taniemarie.solon.com>.
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16Change @VERSION@ to @PKG_VERSION@.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16(read_utmp): Declare n_read to be of type size_t rather than int.Jim Meyering
1996-03-16(validate_path): Cast path_max to size_t beforeJim Meyering
comparing with strlen(path).
1996-03-16Remove __P-protected prototype for basename.Jim Meyering
Reported by François Pinard. (remove_suffix): Move to precede use. Remove prototype. Declare formal parameter SUFFIX to be const.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-03-12[_]: Don't define this away.Jim Meyering
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-03-12Add definitions and includes for NLS.Jim Meyering
1996-03-11(write_bytes): Renamed from xfwrite.Jim Meyering
Remove SIZE parameter. It was always 1. Update all callers. Rename NELEM parameter to N_BYTES and change its type to size_t.
1996-03-09(star_digits_closebracket): Declare formal param, IDX, and local I toJim Meyering
be of type size_t (rather than int) to avoid warnings from gcc -Wall.
1996-03-09(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.Jim Meyering
1996-03-09(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-03-09(copy): Comment change to avoid overwriting source with backup.Jim Meyering
1996-03-08(main): Tell read_filesystem_list that it should determine file system typeJim Meyering
when the user specifies --print-type or -T. From Michael Rendell <michael@cs.mun.ca>
1996-03-07(print_entry): Use STRUCT_UTMP, not `struct utmp'.Jim Meyering
1996-03-06(usage): Reorder --time and --help so --help is the latter (justJim Meyering
before --version) to be consistent with other usage functions.
1996-03-05(main): Exit after processing --version.Jim Meyering
1996-03-02(WINDOWS_SETFILEMODE_BINARY): New macro.Jim Meyering
(skip) [_WIN32 && _O_BINARY]: Use it. (read_char): Likewise. (read_block): Likewise. Based on changes by Gary Newman <gnewman@shore.net>.
1996-03-02(docolon): Don't use deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizesJim Meyering
non-BRE \?, \+, and \|. Instead, use RE_SYNTAX_POSIX_MINIMAL_BASIC.
1996-02-29General cleanup. Use xstrtoul, not atoi.Jim Meyering
Change output format. Allow inputs as large as ULONG_MAX. Allow more than one command line argument.
1996-02-29(wrapf) [!__STDC__]: Indent by one space the first line of the pre-ANSIJim Meyering
function definition so ansi2knr doesn't munge it.
1996-02-29(eval6): Cast strlen to int to avoid warning from gcc -Wall.Jim Meyering
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.