summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
1995-02-10(wc): Handle separately the cases in which words needJim Meyering
not be counted. Suggested by Karl Heuer. (wc): Use memchr.c instead.
1995-02-09(wc): Add a separate loop for counting only lines or lines and bytes.Jim Meyering
From Karl Heuer.
1995-02-09(wc): Don't overcount the number of bytes when reading fromJim Meyering
a regular file on stdin with file pointer not at BOF. From Karl Heuer.
1995-01-29(parse_old_offset): Use strchr, not index.Jim Meyering
1995-01-29(extract_regexp): Use strrchr, not rindex.Jim Meyering
1995-01-28(substr): Don't allocate a byte for trailing NUL in resultJim Meyering
since the result needn't be NUL-terminated. Don't NUL terminate it.
1995-01-28(pipe_lines, pipe_bytes): Use memcpy instead of bcopy.Jim Meyering
1995-01-28(append_equiv_class): Use memcpy instead of bcopy.Jim Meyering
(card_of_complement, set_initialize): Use memset, not bzero.
1995-01-28(tac): Use memmove instead of bcopy.Jim Meyering
(output): Use memcpy instead of bcopy.
1995-01-28(main): Use memset, not bzero.Jim Meyering
(line_bytes_split): Use memmove instead of bcopy.
1995-01-28(checkfp, mergefps): Use memcpy instead of bcopy.Jim Meyering
(fillbuf): Use memmove instead of bcopy.
1995-01-28(decode_format_string): Use memmove instead of bcopy.Jim Meyering
[EQUAL_BLOCKS]: Use memcmp, not bcmp. (dump): Use memset, not bzero.
1995-01-28(fold_file): Use memmove instead of bcopy.Jim Meyering
1995-01-28(isopen, isclose, isperiod): Use strchr, not index.Jim Meyering
(flush_paragraph): Use memmove instead of bcopy.
1995-01-28(load_buffer): Use memcpy rather than bcopy.Jim Meyering
1995-01-28(cat): Use memmove rather than bcopy.Jim Meyering
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1995-01-25* fmt.c (copy_rest): Replace `||' with `&&'. Before, a paragraphJim Meyering
not followed by a newline would be followed by data copied from uninitialized storage. Repeat by `printf abc|fmt|od -ac'. Reported by Franc,ois Pinard.
1995-01-25Rename macros with FP_ prefix. Use FLOAT_ instead.Jim Meyering
AIX-2.2.1 declares a typedef, FP_DOUBLE, that conflicted. Be careful to use off_t instead of explicit `unsigned long'. Otherwise, systems like 4.4BSD lose on calls to fseek that expect off_t (which is long long on that system). (parse_old_offset): Use xstrtoul (main): Likewise.
1995-01-17Don't use `legal' when you mean `valid'.Jim Meyering