summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31.Jim Meyering
1994-12-31still checkingJim Meyering
1994-12-31checking whether cvs lock worksJim Meyering
1994-12-31Indent.Jim Meyering
Add deactivated assertions.
1994-12-31Use readtoken.Jim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-12-27 * dd.c (skip): Use safe_read instead of read.Jim Meyering
(copy): Use full_write instead of write. From Bruno Haible.
1994-12-27 * sync.c (main): Make error message accurate.Jim Meyering
1994-12-27[member]: Use strchr instead of index.Jim Meyering
1994-12-27* test.c (term): Running `./test \( a -o b' got a seg fault.Jim Meyering
From Klaus.Reichl@aut.alcatel.at.
1994-12-22(main): Update xstrtol calls to be consistent with new decl.Jim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-12-20Begin overhaul.Jim Meyering
1994-12-20(test_stat, binary_operator): Use safe_stat instead of SAFE_STAT.Jim Meyering
(unary_operator): Use safe_lstat instead of SAFE_LSTAT.
1994-12-20(print_entry): Use safe_stat instead of SAFE_STAT.Jim Meyering
1994-12-20(dir_ok): Use safe_stat instead of SAFE_STAT.Jim Meyering
1994-12-20(numerous functions): Give char* filename arguments the const attribute.Jim Meyering
1994-12-20(main): Use safe_stat, not SAFE_STAT.Jim Meyering
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
(main): Don't advance optarg past leading sign -- otherwise, we'd be making tail accept invalid options like `-+1'. (tail_file): Fix call to error with %s in format, but no corresponding argument.
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
1994-12-16Include "error.h" instead of simply declaring `void error ();'.Jim Meyering
1994-12-16(main): Use %lu, not %d for unsigned long.Jim Meyering
(my_strtoul, uint_fatal_error): Remove functions. Use xstrtoul and STRTOL_FATAL_ERROR instead.
1994-12-13(main): Move to end.Jim Meyering
(factor, do_stdin): Declare static.
1994-12-13(docolon): Zero out re_buffer and re_regs before using them.Jim Meyering
From H.J. Lu <hjl@nynexst.com>.
1994-12-12.Jim Meyering
1994-12-12sort.c (main): Fix interpretation of field offsets when specifiedJim Meyering
via -k option. They were being interpreted as zero-indexed. POSIX says they are 1-based indices. (keycompare): Don't ignore characters at the end of words when otherwise they compare equal. Both from Rik Faith <faith@cs.unc.edu>.
1994-12-11* (<most functions>): Change the type of n_units/n_lines/n_bytesJim Meyering
to off_t because n_bytes is used as the option to fseek and off_t may be long long (e.g. on BSD4.4). The only place where a 32-bit limit is imposed is in the string-to-integer converstion of xstrtol. (main): Use xstrtol instead of manual string to integer conversion.
1994-12-11(get_format_width, get_format_prec): Use ISDIGIT instead ofJim Meyering
comparisons against '0' and '9'.
1994-12-11[ULONGMAX]: Define it.Jim Meyering
[LONGMAX]: Define in terms of ULONGMAX instead of as a 32-bit constant.
1994-12-10No longer include <ctype.h>.Jim Meyering
[isascii, ISDIGIT]: Remove definitions.
1994-12-10No longer include <ctype.h>.Jim Meyering
Remove IS* macros.
1994-12-10No longer include <ctype.h>.Jim Meyering
1994-12-10(copy, make_path_private): Use strr?chr instead of r?index.Jim Meyering
1994-12-10(parse_conversion, scan_args): Use strr?chr instead of r?index.Jim Meyering
1994-12-10(remove_parents): Use strr?chr instead of r?index.Jim Meyering
1994-12-10* [!HAVE_STRING_H]: Define strchr to index and strrchr toJim Meyering
rindex instead of the other way around. * Include <ctype.h> and define IS* macros.
1994-12-10No longer include <ctype.h>.Jim Meyering
1994-12-04Use strr?chr instead of r?index.Jim Meyering
1994-12-03(du_files): Handle very low-probability fchdir failure (when errno != 0Jim Meyering
&& errno != EINVAL).
1994-12-03(du_files): Variable name changes.Jim Meyering
1994-12-03(du_files): Work around SunOS restriction that fchdir doesn't work whenJim Meyering
accounting is enabled -- modelled after djm's find.c mods.
1994-12-02(checkfp): Initialize keybeg and keylim fields.Jim Meyering
Before, this command perl -e 'print join ("\n", (1..513)), "\n";'|sort -cs -n failed on SunOS 4 systems. From Robert H. de Vries <robert@and.nl>.
1994-12-02(xfclose): Report failed fflush. Otherwise, failed write to stdoutJim Meyering
could be missed because of subsequent clearerr. (main): Include filename in a couple error messages. Add missing %s in an error format string.
1994-11-30name changes: number->n_lines|n_bytesJim Meyering
1994-11-28Make some globals `static' and/or `const'.Jim Meyering
(LEN_STR_PAIR): New macro. (decode_switches): Only ignore invalid TABSET value instead of dying. (parse_ls_color): Use error, not fprintf. (print_type_indicator): Remove dcls of two unused variables.
1994-11-28indentJim Meyering
1994-11-28(indent): Use TABs only when doing so replaces at least two spaces.Jim Meyering