summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1994-12-12.Jim Meyering
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.Jim Meyering
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-11.Jim Meyering
1994-12-10(safe_read): Get this function from gcc's cccp.c.Jim Meyering
1994-12-10.Jim Meyering
1994-12-10.Jim Meyering
1994-12-10.Jim Meyering
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-07New chapter by Arnold Robbins via Karl.Jim Meyering
1994-12-04.Jim Meyering
1994-12-04Use strr?chr instead of r?index.Jim Meyering
1994-12-04Get putenv.c from /copies (derived from glibc).Jim Meyering
Hack it to work with SGI's __environ junk.
1994-12-04.Jim Meyering
1994-12-04.Jim Meyering
1994-12-04.Jim Meyering
1994-12-04(DISTFILES): Add getdate.texi.Jim Meyering
1994-12-04Mods from Karl to include getdate.texi.Jim Meyering
1994-12-04.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
1994-11-28`colorize' patch from Drepper.Jim Meyering
1994-11-21.Jim Meyering
1994-11-18(list_entries): Delete. Split in two actually...Jim Meyering
(list_entries_users, list_entries_who, userid_compare): New functions. (list_entries_users): Sort the user names. Reported by Michael I Bushnell. Topologically sort the functions and remove fwd declarations.
1994-11-17.Jim Meyering
1994-11-17(output): Use STDOUT_FILENO instead of `1' in xwrite call.Jim Meyering
1994-11-17(dump_remainder): Flush standard output just beforeJim Meyering
sleeping so that `tail -f' will output partial lines sooner. This applies only when following the end of a single file. From Leonard N. Zubkoff <lnz@dandelion.com>. (file_lines, pipe_lines, pipe_bytes, start_bytes, start_lines, dump_remainder): Use STDOUT_FILENO instead of `1' in XWRITE calls.
1994-11-16Include <getopt.h> instead of "getopt.h".Jim Meyering
1994-11-16(tempname): Merge two very similar sprintf stmts into one.Jim Meyering
1994-11-16Use BUFSIZ instead of BUFSIZE.Jim Meyering
1994-11-16Rewriting to help it pass a reasonable suite of tests.Jim Meyering
1994-11-16Declare DELIM to be `int' rather than unsigned char.Jim Meyering