summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1995-06-15patch from drepperJim 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[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-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-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.
1995-06-11From Ulrich Drepper.Jim Meyering
1995-06-11(look_up_char_class, append_char_class, append_equiv_class): Use constJim 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-28Overhaul 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-26Remove trailing white space.Jim Meyering
1995-05-25[struct control]: Change type of `repeat' member to unsignedJim 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-21merge with 1.11.1bJim 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-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-05-13Use l?stat, not safe_l?stat.Jim Meyering
1995-05-13(usage): Remove duplicate descriptions of --help and --version.Jim Meyering
From Karl Berry.
1995-05-13(movefile): Remove a single trailing slash from destdir before concatenatingJim Meyering
with `/' and filename for `ok to overwrite...' message.
1995-05-05(save_stdin): Don't hard-code /tmp.Jim Meyering
[DEFAULT_TMPDIR]: Use this instead.
1995-05-05(main): Use stat, not safe_stat. The latter was unnecessary.Jim Meyering
1995-05-05Patch from Mike to fix handling of +x.yn.Jim Meyering
1995-05-05Don't hard-code /tmp.Jim Meyering
[DEFAULT_TMPDIR]: Use this instead.
1995-05-02(quote_filename): Never return NULL when quoting filenamesJim Meyering
as C-strings. --quote-name was quoting only strings containing at least one C-quotable character. Reported by David J. MacKenzie.
1995-04-30(usage): Fix per kb's suggestions.Jim Meyering
1995-04-26(tempname): AND-off high bits of pid so that its decimalJim Meyering
string representation is no longer than five digits. From Hans Verkuil (hans@wyst.hobby.nl)
1995-04-21(add_tabstop): Give correct size when reallocating tab_list buffer.Jim Meyering
From Geoff Odhner (geoff@franklin.com).
1995-04-14(next_file_name): Don't reuse X as an index.Jim Meyering
Declare new variable I instead.
1995-04-14(write_block): Declare index I as unsigned int, not int.Jim Meyering
(get_lcm): Likewise. (dump_strings): Likewise. (main): Likewise. (dump): Cast BYTES_PER_BLOCK to off_t in MIN expression. (dump_strings): Declare bufsize to be of type size_t, not int.
1995-04-14Remove block of redundant comments describing options.Jim Meyering
(usage): Remove reference to -l option. It's not valid.
1995-03-25(fold_file): Declare offset_out size_t.Jim Meyering
1995-03-25(set_fields): Declare index unsigned.Jim Meyering
1995-03-24Declare as `unsigned int' all variables that were just `unsigned'.Jim Meyering
(make_filename): Change type of arg to unsigned int. (split_file): Change type of indices to unsigned int.
1995-03-21merge with 1.11.eJim Meyering