Age | Commit message (Collapse) | Author | |
---|---|---|---|
1995-06-24 | Undefine min and/or max before defining to avoid redefinition warning | Jim Meyering | |
on systems. | |||
1995-06-24 | (read_input): Rename paramater MAX to MAX_N_BYTES. To avoid potential | Jim 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) with | Jim Meyering | |
headers that have a different prototype for `join' get an error. | |||
1995-06-22 | [word]: Redefine. Otherwise, systems (Unicos for one) with | Jim 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 integer | Jim 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-18 | merge with 1.12 | Jim Meyering | |
1995-06-18 | (process_buffer): Copy values from struct into | Jim 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 | (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-16 | Remove 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-15 | Don'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 | merge with 1.11.5b | Jim Meyering | |
1995-06-15 | patch from drepper | Jim Meyering | |
1995-06-15 | (main): Rename `char binary' to type_flag to avoid confusion with `int binary'. | Jim Meyering | |
1995-06-15 | Don'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 | [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 | (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 | [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-13 | Indent 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-11 | Use `invalid', not `illegal' in error message. | Jim Meyering | |
1995-06-11 | Remove 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. | |||
1995-06-11 | From Ulrich Drepper. | Jim Meyering | |
1995-06-11 | (look_up_char_class, append_char_class, append_equiv_class): Use const | Jim Meyering | |
attribute when appropriate. | |||
1995-05-28 | (add_field_list): Compute max once for each call to add_field. | Jim Meyering | |
1995-05-28 | (main): Call make_blank after *all* argument processing. | Jim Meyering | |
Get rid of blank1, blank2. Just use uni_blank instead. | |||
1995-05-28 | Overhaul so -a1 and -a2 (as used in cnews) work. | Jim Meyering | |
1995-05-28 | (main): Remove dcl of and statements that set now-unused variable. | Jim Meyering | |
1995-05-27 | [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h. | Jim Meyering | |
Without this, SunOS doesn't get type for memchr. Reported by Kaveh Ghazi. | |||
1995-05-26 | Remove trailing white space. | Jim Meyering | |
1995-05-25 | [struct control]: Change type of `repeat' member to unsigned | Jim Meyering | |
long to avoid conversion warning. | |||
1995-05-25 | (tail_lines): Change one more `long' to `off_t'. | Jim Meyering | |
Otherwise, tail didn't work on NetBSD. From by Arne H. Juul. | |||
1995-05-22 | (usage): Add one or two lines of descriptive text. | Jim Meyering | |
1995-05-21 | merge with 1.11.1b | Jim Meyering | |
1995-05-20 | (look_up_char_class): Take a string length argument. | Jim Meyering | |
Use strncmp, not strcmp and verify that string lengths are the same. (append_char_class): Update caller. From Andreas Schwab. | |||
1995-05-20 | (next_file_name): Move dcls of file-scope variables into this function. | Jim Meyering | |
Don't rely on arithmetic being two's complement. | |||
1995-05-20 | [CLOSED, ENDLIST]: Don't cast constants to FILE pointers. | Jim Meyering | |
Instead, declare two FILE structs and use their addresses. | |||
1995-05-20 | (usage): Tweak wording. | Jim Meyering | |
1995-05-19 | (record_line_starts): Remove set-but-not-used, file-scope variable. | Jim Meyering | |
1995-05-15 | (usage): Add one- and two-line descriptions to --help output. | Jim Meyering | |
From Karl. | |||
1995-05-13 | (usage): Include one- or two-line synopsis in --help output. | Jim Meyering | |
From Karl Berry. | |||
1995-05-13 | Use stat (lstat), not safe_stat (safe_lstat). | Jim Meyering | |
1995-05-13 | Use l?stat, not safe_l?stat. | Jim Meyering | |
1995-05-13 | (usage): Remove duplicate descriptions of --help and --version. | Jim Meyering | |
From Karl Berry. |