summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
1995-06-18.Jim Meyering
1995-06-18(process_buffer): Copy values from struct intoJim Meyering
individual local variables before performing computation on them, then copy results back into returned struct. Solely for better optimization by compilers that can't keep struct members in registers. From Ulrich Drepper.
1995-06-16.Jim Meyering
1995-06-16.Jim Meyering
1995-06-16.Jim Meyering
1995-06-16(split_3): Unprotoize.Jim Meyering
(hex_digits): Unprotoize. (main): Interpret `no file args' as request to read from stdin. (usage): Reflect that change.
1995-06-16Half-assed patch from Karl -- probably need to change `file name' to `filename'.Jim Meyering
1995-06-16.Jim Meyering
1995-06-16Remove unnecessary uses of `defined' in #if* tests.Jim Meyering
Don't use #elif. Some older compilers don't grok it. (split_3): New function to parse out sum, flag, and filename when reading check file. (hex_digits): Remove length parameter since string parameter is now nul-terminated. (main): Don't allocate separate arrays for filename and sum when checking. Get pointers into line buffer with split_3 instead of using sscanf.
1995-06-15Don't include values.h.Jim Meyering
[__P]: Undefine it. [UNIX || unix]: Also test __UNIX__, __unix__, and _POSIX_VERSION. Reported by Arne H. Juul.
1995-06-15.Jim Meyering
1995-06-15merge with 1.11.5bJim Meyering
1995-06-15patch from drepperJim Meyering
1995-06-15Alloca fix for ConvexOS-11.0.Jim Meyering
1995-06-15Use void* alloca, not char*. The latter lost on convexOS.Jim Meyering
1995-06-15md5sum docs from Ulrich.Jim Meyering
1995-06-15(main): Rename `char binary' to type_flag to avoid confusion with `int binary'.Jim Meyering
1995-06-15Don't use #elif. Some old C compilers don't recognize it.Jim Meyering
(hex_digits): New function. (result): Give ctx parameter the `const' attribute. (usage): Rewrite to make it clearer that there are three modes. (main): Process all options before generating any output. In particular, collect all --string options rather than operating on them as they are encountered. Allow --check=-. Before it tried to open the file named `-'. Detect bogus input when --check'ing: non-hex, non-[tb] flag. Map to lower case all hex digits read from check file.
1995-06-14.Jim Meyering
1995-06-14.Jim Meyering
1995-06-14[NDEBUG]: Define it to disable assertions.Jim Meyering
(is_char_class_member): Set a variable in each branch of switch stmt and return that value after the switch (rather than returning directly from every branch). (unquote): More int->size_t changes. (build_spec_list): More int->size_t changes. Be very careful about comparison now that variables are unsigned: Use i + 2 < len rather than i < len - 2. The latter failed for len < 2.
1995-06-13.Jim Meyering
1995-06-13(xfclose): Don't try to flush stdin, only stdout.Jim Meyering
Otherwise, at least Ultrix-4.3's fflush would return EOF. Reported by Jim Blandy (jimb@cyclic.com).
1995-06-13.Jim Meyering
1995-06-13[struct Spec_list] (indefinite_repeat_element): New member.Jim Meyering
Use size_t rather than int or unsigned long where reasonable. (get_spec_status): Make interface cleaner. (get_s1_spec_status): New function. (get_s2_spec_status): New function. (validate): Use new functions.
1995-06-13Indent some things.Jim Meyering
(long_options): Add NULL entry. From Uli. Touch up some comments. (process_buffer): Bracket definition of OP with do...while(0) so stmts can be semicolon terminated.
1995-06-12(non_neg_strtol): Don't compare signed and unsigned.Jim Meyering
1995-06-12[!__GNUC__]: Define INLINE to /* empty */.Jim Meyering
1995-06-12.Jim Meyering
1995-06-12.Jim Meyering
1995-06-12Remove now-obsolete comment and leading space.Jim Meyering
1995-06-12Remove now-obsolete comment and leading space.Jim Meyering
1995-06-11.Jim Meyering
1995-06-11Use `invalid', not `illegal' in error message.Jim Meyering
1995-06-11Remove trailing white space.Jim Meyering
1995-06-11[SWAP]: Parenthesize uses of macro argument.Jim Meyering
Don't use autoconf macros that require running test programs.