summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-07-21(md5_stream): Update prototype.Jim Meyering
[__P]: Define macro.
1995-07-21(md5_stream): Check for read failure and returnJim Meyering
indication of success rather than second argument.
1995-07-21Use EXIT_FAILURE and EXIT_SUCCESS.Jim Meyering
(main): Report an error if md5_stream fails. Otherwise, running `md5sum dir-on-mounted-filesystem' always reported the checksum for an empty file. Now it gets the `is a directory' error. Greg McGary reported that the released version got stuck in an infinite loop with such arguments.
1995-07-20(split_3): Accept only old format.Jim Meyering
Properly handle file names with leading and trailing white space.
1995-07-20more comment tweaksJim Meyering
1995-07-20Correct typo in Copyright.Jim Meyering
Reformat paragraph so line with new FSF address fits in 80 columns.
1995-07-20(usage): Move it to precede all other functions.Jim Meyering
Fiddle comments.
1995-07-20New version from Drepper.Jim Meyering
1995-07-20.Jim Meyering
1995-07-16.Jim Meyering
1995-07-16.Jim Meyering
1995-07-16.Jim Meyering
1995-07-16Add #else block after #ifdef VMS.Jim Meyering
(main): Rename local variable. Add FIXME: allow newlines in filenames. Detect and report failed fclose calls on stdout and checkfile_stream.
1995-07-16(build_spec_list): Declare CLOSING_DELIM_IDX and CLOSING_BRACKET_IDX toJim Meyering
be of type size_t, not int. (main): Declare NR and CHARS_READ to be of type long, not int.
1995-07-12(unqote): Comment out unreachable break stmts.Jim Meyering
(append_range): Declare FIRST and LAST parameters to be unsigned int, not size_t. (find_closing_delim): Clean up interface, separating boolean success indicator and index. (find_bracketed_repeat): Likewise. (build_spec_list): Adapt to use new interfaces.
1995-07-12(main): Comment out unreachable break stmt.Jim Meyering
1995-07-12(dump): Convert to use smaller -- but seemingly equivalent -- patch.Jim Meyering
1995-07-12Reorder functions so main is last, so no forward dcls are needed.Jim Meyering
1995-07-12(tail): Explicitly cast to long the N_UNITS argumennt inJim Meyering
call to tail_lines. Otherwise, NetBSD lost because N_UNITS (of type off_t, a 64-bit type on NetBSD) wasn't converted to the target type, long. Reported by Dan Hagerty (hag@gnu.ai.it.edu).
1995-07-09(main): Add UCHAR casts.Jim Meyering
1995-07-09.Jim Meyering
1995-07-09(main): When using obsolescent +pos -pos syntax, allowJim Meyering
omission of field spec only when character offset is specified. Otherwise, -. +. would be accepted.
1995-07-09(main): Allow field spec, M, to be omitted in +M.N or -M.NJim Meyering
position specification. Omitting M is equivalent to specifying `0' for M. From Rick Sladkey (jrs@world.std.com).
1995-07-07.Jim Meyering
1995-07-07(dump): Correct loop-termination criterion.Jim Meyering
Before, running `printf 1234| ./od --width=4 --read-bytes=4' printed output for 8 bytes -- the last four were garbage. This happened only when the dump limit, N, was specified (with --read-bytes=N) and N was a multiple of bytes_per_block (usually 16, but 4 in this example). From Andreas Schwab.
1995-07-06Remove trailing white space.Jim Meyering
1995-07-06(od): Remove space beteen -w and optional argument.Jim Meyering
1995-07-03.Jim Meyering
1995-07-03.Jim Meyering
1995-07-03(split_3): Rewrite to parse Plumb/Lankester format as well.Jim Meyering
(main): Write (de facto) standard Plumb/Lankester format. New option: --quiet. Check option no longer takes an argument. When checking, exit status reflects success.
1995-06-25Remove unused dcl of isnumber.Jim Meyering
1995-06-25(parse_group): Use xstrtoul instead of isnumber; the latter wouldJim Meyering
silently overflow, accepting a group id larger than INT_MAX. (isnumber): Remove now-unused static function. (change_file_group) [MAXUID]: Give a more descriptive message when numeric group id is larger than MAXUID.
1995-06-24merge with 1.12aJim Meyering
1995-06-24.Jim Meyering
1995-06-24Don't conditionalize use of "inline". Autoconf takes care of definingJim Meyering
it away for compilers that don't grok it.
1995-06-24.Jim Meyering
1995-06-24.Jim Meyering
1995-06-24Undefine min and/or max before defining to avoid redefinition warningJim Meyering
on systems.
1995-06-24(read_input): Rename paramater MAX to MAX_N_BYTES. To avoid potentialJim Meyering
conflict with max macro from some system's header files and bad pre-ANSI compilers.
1995-06-24[uint32]: When testing for 32-bit arithmetic type,Jim Meyering
also check `unsigned long', as a concession to systems with int's smaller than 32 bits.
1995-06-24(usage): Fix typo.Jim Meyering
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-06-22[join]: Redefine. Otherwise, systems (Unicos for one) withJim Meyering
headers that have a different prototype for `join' get an error.
1995-06-22.Jim Meyering
1995-06-22[word]: Redefine. Otherwise, systems (Unicos for one) withJim Meyering
headers that define `word' to be a type get syntax errors because of the variable by the same name.
1995-06-22(interrupt_handler): Declare to have a single integerJim Meyering
parameter. Otherwise, some compilers failed with a type mismatch error in sa_handler assignment.
1995-06-22(main): Remove spurious colon in getopt spec string.Jim Meyering
From Ken Pizzini <kenp@spry.com>.
1995-06-20(md5_file): Initialize two elements of LEN portably,Jim Meyering
rather than with ANSI aggregate initialization. Reported by Edzer Pebesma <Edzer.Pebesma@rivm.nl>.
1995-06-18merge with 1.12Jim Meyering
1995-06-18.Jim Meyering