summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
1995-03-21(usage): Add ellipsis after `[OPTION]'.Jim Meyering
Use FILE, not deprecated PATH. From Karl Berry.
1995-03-16Detect when -N argument is too large to fit in an off_t.Jim Meyering
1995-03-10add 1995 to Copyright datesJim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1995-02-28(wc): oops. Add missing dcl of stats.Jim Meyering
1995-02-27(color_indicator[0]): Add missing `['.Jim Meyering
1995-02-27(userid_compare): K&R'ify function definition.Jim Meyering
1995-02-27(correct_password): Use memset instead of bzero.Jim Meyering
1995-02-27(main, set_window_size): Use memset instead of bzero.Jim Meyering
1995-02-27Remove \n's from error format strings.Jim Meyering
(main): Let `seq 1 1' work. Invoke usage always with 1 when failing.
1995-02-27(docolon): Use memset instead of bzero.Jim Meyering
1995-02-27(batch_convert): Remove any trailing newline from offendingJim Meyering
line before including it in the `invalid date' error from `date -f'. Reported by Franc,ois Pinard.
1995-02-27(wc): Put back test for S_ISREG. On some systems lseek returns zero forJim Meyering
non-regular files (esp ttys on SunOS) even when it fails.
1995-02-23(restore_cwd): Test whether fchdir return value is non-zero, not negative.Jim Meyering
Be consistent!
1995-02-23(save_cwd) [!HAVE_FCHDIR]: Avoid a core dump via abort() which occurredJim Meyering
because cwd->desc was uninitialed. (restore_cwd) [!HAVE_FCHDIR]: Remove unnecessary redefinition of fchdir. Both from Bruno Haible.
1995-02-21(count_entry): Fix bug in polarity of safe-stat status test.Jim Meyering
1995-02-21(save_cwd, restore_cwd): New functions.Jim Meyering
(main): Use them instead of in-line versions. (count_entry): Use them here instead of relying on chdir ("..") -- but only when necessary. Before, with --dereference (-L), traversing a symlink caused failure because chdir ("..") didn't work as expected. Reported by Bruno Haible.
1995-02-16(wc): Fix off-by-one error when counting lines.Jim Meyering
1995-02-11(copy): Use memset, not bzero.Jim Meyering
(copy_simple): Use memcpy, not bcopy.
1995-02-11Remove index/rindex and bcmp/bcopy/bzero references.Jim Meyering
Separate errno declaration from STDC_HEADERS.
1995-02-11Fix example in comment.Jim Meyering
1995-02-10(wc): Eliminate fstat call -- using lseek is sufficient.Jim Meyering
Detect/handle case in which CURR position > EOF.