platform/upstream/coreutils.git
29 years ago.
Jim Meyering [Sun, 4 Dec 1994 20:53:43 +0000 (20:53 +0000)]
.

29 years ago(DISTFILES): Add getdate.texi.
Jim Meyering [Sun, 4 Dec 1994 20:52:46 +0000 (20:52 +0000)]
(DISTFILES): Add getdate.texi.

29 years agoMods from Karl to include getdate.texi.
Jim Meyering [Sun, 4 Dec 1994 20:50:57 +0000 (20:50 +0000)]
Mods from Karl to include getdate.texi.

29 years ago.
Jim Meyering [Sun, 4 Dec 1994 20:48:11 +0000 (20:48 +0000)]
.

29 years ago(du_files): Handle very low-probability fchdir failure (when errno != 0
Jim Meyering [Sat, 3 Dec 1994 20:38:20 +0000 (20:38 +0000)]
(du_files): Handle very low-probability fchdir failure (when errno != 0
&& errno != EINVAL).

29 years ago(du_files): Variable name changes.
Jim Meyering [Sat, 3 Dec 1994 20:29:28 +0000 (20:29 +0000)]
(du_files): Variable name changes.

29 years ago(du_files): Work around SunOS restriction that fchdir doesn't work when
Jim Meyering [Sat, 3 Dec 1994 20:26:33 +0000 (20:26 +0000)]
(du_files): Work around SunOS restriction that fchdir doesn't work when
accounting is enabled -- modelled after djm's find.c mods.

29 years ago(checkfp): Initialize keybeg and keylim fields.
Jim Meyering [Fri, 2 Dec 1994 16:54:56 +0000 (16:54 +0000)]
(checkfp): Initialize keybeg and keylim fields.
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>.

29 years ago(xfclose): Report failed fflush. Otherwise, failed write to stdout
Jim Meyering [Fri, 2 Dec 1994 16:49:47 +0000 (16:49 +0000)]
(xfclose): Report failed fflush.  Otherwise, failed write to stdout
could be missed because of subsequent clearerr.
(main): Include filename in a couple error messages.
Add missing %s in an error format string.

29 years agoname changes: number->n_lines|n_bytes
Jim Meyering [Wed, 30 Nov 1994 20:54:21 +0000 (20:54 +0000)]
name changes: number->n_lines|n_bytes

29 years agoMake some globals `static' and/or `const'.
Jim Meyering [Mon, 28 Nov 1994 06:00:56 +0000 (06:00 +0000)]
Make some globals `static' and/or `const'.
(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.

29 years agoindent
Jim Meyering [Mon, 28 Nov 1994 04:38:27 +0000 (04:38 +0000)]
indent

29 years ago(indent): Use TABs only when doing so replaces at least two spaces.
Jim Meyering [Mon, 28 Nov 1994 04:32:07 +0000 (04:32 +0000)]
(indent): Use TABs only when doing so replaces at least two spaces.

29 years ago`colorize' patch from Drepper.
Jim Meyering [Mon, 28 Nov 1994 04:25:31 +0000 (04:25 +0000)]
`colorize' patch from Drepper.

29 years ago.
Jim Meyering [Mon, 21 Nov 1994 14:23:15 +0000 (14:23 +0000)]
.

29 years ago(list_entries): Delete. Split in two actually...
Jim Meyering [Fri, 18 Nov 1994 05:15:04 +0000 (05:15 +0000)]
(list_entries): Delete.  Split in two actually...
(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.

29 years ago.
Jim Meyering [Thu, 17 Nov 1994 17:37:22 +0000 (17:37 +0000)]
.

29 years ago(output): Use STDOUT_FILENO instead of `1' in xwrite call.
Jim Meyering [Thu, 17 Nov 1994 12:49:38 +0000 (12:49 +0000)]
(output): Use STDOUT_FILENO instead of `1' in xwrite call.

29 years ago(dump_remainder): Flush standard output just before
Jim Meyering [Thu, 17 Nov 1994 12:49:10 +0000 (12:49 +0000)]
(dump_remainder): Flush standard output just before
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.

29 years agoInclude <getopt.h> instead of "getopt.h".
Jim Meyering [Wed, 16 Nov 1994 13:19:25 +0000 (13:19 +0000)]
Include <getopt.h> instead of "getopt.h".

29 years ago(tempname): Merge two very similar sprintf stmts into one.
Jim Meyering [Wed, 16 Nov 1994 13:16:53 +0000 (13:16 +0000)]
(tempname): Merge two very similar sprintf stmts into one.

29 years agoUse BUFSIZ instead of BUFSIZE.
Jim Meyering [Wed, 16 Nov 1994 13:13:07 +0000 (13:13 +0000)]
Use BUFSIZ instead of BUFSIZE.

29 years agoRewriting to help it pass a reasonable suite of tests.
Jim Meyering [Wed, 16 Nov 1994 13:10:34 +0000 (13:10 +0000)]
Rewriting to help it pass a reasonable suite of tests.

29 years agoDeclare DELIM to be `int' rather than unsigned char.
Jim Meyering [Wed, 16 Nov 1994 13:09:13 +0000 (13:09 +0000)]
Declare DELIM to be `int' rather than unsigned char.

29 years ago.
Jim Meyering [Wed, 16 Nov 1994 13:06:45 +0000 (13:06 +0000)]
.

29 years ago.
Jim Meyering [Wed, 16 Nov 1994 13:05:38 +0000 (13:05 +0000)]
.

29 years ago.
Jim Meyering [Mon, 14 Nov 1994 22:31:47 +0000 (22:31 +0000)]
.

30 years ago(my_strtol): New function.
Jim Meyering [Fri, 11 Nov 1994 16:14:19 +0000 (16:14 +0000)]
(my_strtol): New function.
(main): Use it instead of atoi to convert argument strings to
major and minor device numbers.  Now, mknod diagnoses invalid
device numbers and accepts octal and hexadecimal as well as
decimal string arguments.  Ralf Lammers
<rlammers@physik.uni-osnabrueck.de> suggested that mknod accept
hex device numbers for compatibility with HPUX's mknod program.

30 years ago(SOURCES): Add strtol.c.
Jim Meyering [Fri, 11 Nov 1994 16:10:16 +0000 (16:10 +0000)]
(SOURCES): Add strtol.c.

30 years ago.
Jim Meyering [Wed, 9 Nov 1994 20:16:23 +0000 (20:16 +0000)]
.

30 years ago.
Jim Meyering [Tue, 8 Nov 1994 22:40:52 +0000 (22:40 +0000)]
.

30 years ago.
Jim Meyering [Mon, 7 Nov 1994 12:55:05 +0000 (12:55 +0000)]
.

30 years agoInitial revision
Jim Meyering [Mon, 7 Nov 1994 12:47:50 +0000 (12:47 +0000)]
Initial revision

30 years ago.
Jim Meyering [Mon, 7 Nov 1994 05:38:19 +0000 (05:38 +0000)]
.

30 years ago.
Jim Meyering [Mon, 7 Nov 1994 05:37:05 +0000 (05:37 +0000)]
.

30 years agoAdd test names.
Jim Meyering [Mon, 7 Nov 1994 04:36:41 +0000 (04:36 +0000)]
Add test names.

30 years agoAdd -w and clean up.
Jim Meyering [Mon, 7 Nov 1994 04:36:07 +0000 (04:36 +0000)]
Add -w and clean up.

30 years agomerge with 1.12
Jim Meyering [Sun, 6 Nov 1994 17:51:23 +0000 (17:51 +0000)]
merge with 1.12

30 years agomerge with 1.11
Jim Meyering [Sun, 6 Nov 1994 17:47:32 +0000 (17:47 +0000)]
merge with 1.11

30 years agomerge with 1.10
Jim Meyering [Sun, 6 Nov 1994 17:42:51 +0000 (17:42 +0000)]
merge with 1.10

30 years agoInitial revision
Jim Meyering [Sun, 6 Nov 1994 17:40:20 +0000 (17:40 +0000)]
Initial revision

30 years agomerge with 1.12
Jim Meyering [Sat, 5 Nov 1994 14:17:55 +0000 (14:17 +0000)]
merge with 1.12

30 years agomerge with 3.10
Jim Meyering [Sat, 5 Nov 1994 13:37:38 +0000 (13:37 +0000)]
merge with 3.10

30 years agomerge with 3.9u1
Jim Meyering [Fri, 4 Nov 1994 16:50:04 +0000 (16:50 +0000)]
merge with 3.9u1

30 years agomerge with 1.9.1k1
Jim Meyering [Fri, 4 Nov 1994 16:43:33 +0000 (16:43 +0000)]
merge with 1.9.1k1

30 years ago.
Jim Meyering [Fri, 4 Nov 1994 14:48:40 +0000 (14:48 +0000)]
.

30 years ago.
Jim Meyering [Fri, 4 Nov 1994 14:15:12 +0000 (14:15 +0000)]
.

30 years agoChange _P to __P.
Jim Meyering [Fri, 4 Nov 1994 14:04:43 +0000 (14:04 +0000)]
Change _P to __P.

30 years ago.
Jim Meyering [Fri, 4 Nov 1994 14:04:03 +0000 (14:04 +0000)]
.

30 years agoInclude makepath.h.
Jim Meyering [Fri, 4 Nov 1994 06:05:34 +0000 (06:05 +0000)]
Include makepath.h.
Add an argument: PRESERVE_EXISTING.
Declare char* arguments const.

30 years ago.
Jim Meyering [Fri, 4 Nov 1994 06:04:42 +0000 (06:04 +0000)]
.

30 years agoInclude <limits.h> before system.h because limits.h on
Jim Meyering [Fri, 4 Nov 1994 06:04:02 +0000 (06:04 +0000)]
Include <limits.h> before system.h because limits.h on
some systems undefines PATH_MAX, whereas system.h includes pathmax.h
which sets PATH_MAX.  From Kaveh Ghazi.

30 years ago(make_path_private): Rename function from make_path to avoid confusion.
Jim Meyering [Fri, 4 Nov 1994 06:03:25 +0000 (06:03 +0000)]
(make_path_private): Rename function from make_path to avoid confusion.
(do_copy): Update caller.

30 years ago(DISTFILES): Add makepath.h.
Jim Meyering [Fri, 4 Nov 1994 06:02:21 +0000 (06:02 +0000)]
(DISTFILES): Add makepath.h.
(makepath.o): Depend on it.

30 years agoUpdate calls to make_path.
Jim Meyering [Fri, 4 Nov 1994 06:00:41 +0000 (06:00 +0000)]
Update calls to make_path.

30 years ago.
Jim Meyering [Thu, 3 Nov 1994 22:32:35 +0000 (22:32 +0000)]
.

30 years ago(rwx): Use S_IRUSR, S_IWUSR, S_IXUSR instead of obsolete
Jim Meyering [Thu, 3 Nov 1994 22:03:54 +0000 (22:03 +0000)]
(rwx): Use S_IRUSR, S_IWUSR, S_IXUSR instead of obsolete
S_IREAD, S_IWRITE, S_IEXEC.
Make sure the former three are defined.

30 years agoDefine S_IXUSR, S_IXGRP, and S_IXOTH in terms of _IEXEC if they're not
Jim Meyering [Thu, 3 Nov 1994 22:03:16 +0000 (22:03 +0000)]
Define S_IXUSR, S_IXGRP, and S_IXOTH in terms of _IEXEC if they're not
already defined.  Reported by Daniel Hagerty <hag@gnu.ai.mit.edu>.

30 years agomerge with 3.9t3
Jim Meyering [Thu, 3 Nov 1994 04:34:05 +0000 (04:34 +0000)]
merge with 3.9t3

30 years agomerge with 1.9.1j2
Jim Meyering [Thu, 3 Nov 1994 04:33:52 +0000 (04:33 +0000)]
merge with 1.9.1j2

30 years agomerge with 1.9.1j2
Jim Meyering [Thu, 3 Nov 1994 04:33:22 +0000 (04:33 +0000)]
merge with 1.9.1j2

30 years agomerge with 1.10x1
Jim Meyering [Thu, 3 Nov 1994 00:58:25 +0000 (00:58 +0000)]
merge with 1.10x1

30 years ago.
Jim Meyering [Wed, 2 Nov 1994 23:55:02 +0000 (23:55 +0000)]
.

30 years ago.
Jim Meyering [Wed, 2 Nov 1994 05:24:13 +0000 (05:24 +0000)]
.

30 years ago(cat): Conditionalize test for errno == ENOSYS. It's not
Jim Meyering [Wed, 2 Nov 1994 05:21:37 +0000 (05:21 +0000)]
(cat): Conditionalize test for errno == ENOSYS.  It's not
defined on some Next and Alliant systems.  From Kaveh Ghazi.

30 years ago(cut_bytes): Print at least a newline for every line of input.
Jim Meyering [Wed, 2 Nov 1994 05:04:17 +0000 (05:04 +0000)]
(cut_bytes): Print at least a newline for every line of input.
(cut_fields): Print a newline even for lines whose only selected
field is empty.  But print nothing when using -s without -f1.
And print nothing for empty input.  Reported by
Richard_Sharman@software.mitel.com.

30 years ago(XWRITE): Guard against calling xwrite with n_bytes == 0.
Jim Meyering [Tue, 1 Nov 1994 22:38:11 +0000 (22:38 +0000)]
(XWRITE): Guard against calling xwrite with n_bytes == 0.

30 years ago(XWRITE): Allow n_bytes to be zero in assertion. Otherwise `tail /dev/null'
Jim Meyering [Tue, 1 Nov 1994 22:21:23 +0000 (22:21 +0000)]
(XWRITE): Allow n_bytes to be zero in assertion.  Otherwise `tail /dev/null'
gets failed assertion.

30 years agomerge with 3.9t2
Jim Meyering [Tue, 1 Nov 1994 14:57:56 +0000 (14:57 +0000)]
merge with 3.9t2

30 years agomerge with 3.9t2
Jim Meyering [Tue, 1 Nov 1994 14:57:28 +0000 (14:57 +0000)]
merge with 3.9t2

30 years agoInitial revision
Jim Meyering [Tue, 1 Nov 1994 14:50:16 +0000 (14:50 +0000)]
Initial revision

30 years ago.
Jim Meyering [Mon, 31 Oct 1994 14:03:58 +0000 (14:03 +0000)]
.

30 years ago.
Jim Meyering [Mon, 31 Oct 1994 12:55:27 +0000 (12:55 +0000)]
.

30 years agomerge with 1.9.1j
Jim Meyering [Mon, 31 Oct 1994 04:38:31 +0000 (04:38 +0000)]
merge with 1.9.1j

30 years ago.
Jim Meyering [Mon, 31 Oct 1994 04:15:31 +0000 (04:15 +0000)]
.

30 years agomerge with 1.9.1i1
Jim Meyering [Sun, 30 Oct 1994 13:56:10 +0000 (13:56 +0000)]
merge with 1.9.1i1

30 years agomerge with 1.9.1i
Jim Meyering [Sun, 30 Oct 1994 05:28:15 +0000 (05:28 +0000)]
merge with 1.9.1i

30 years ago.
Jim Meyering [Sat, 29 Oct 1994 05:06:43 +0000 (05:06 +0000)]
.

30 years ago.
Jim Meyering [Sat, 29 Oct 1994 04:49:55 +0000 (04:49 +0000)]
.

30 years ago.
Jim Meyering [Fri, 28 Oct 1994 18:32:31 +0000 (18:32 +0000)]
.

30 years ago.
Jim Meyering [Fri, 28 Oct 1994 17:03:06 +0000 (17:03 +0000)]
.

30 years agomerge with 3.9t
Jim Meyering [Thu, 27 Oct 1994 23:36:15 +0000 (23:36 +0000)]
merge with 3.9t

30 years ago.
Jim Meyering [Thu, 27 Oct 1994 13:45:55 +0000 (13:45 +0000)]
.

30 years agomerge with 3.9s
Jim Meyering [Thu, 27 Oct 1994 13:43:59 +0000 (13:43 +0000)]
merge with 3.9s

30 years agomerge with 1.10x
Jim Meyering [Thu, 27 Oct 1994 13:39:39 +0000 (13:39 +0000)]
merge with 1.10x

30 years agomerge with 3.9q
Jim Meyering [Thu, 27 Oct 1994 05:02:28 +0000 (05:02 +0000)]
merge with 3.9q

30 years agomerge with 3.9q
Jim Meyering [Thu, 27 Oct 1994 05:02:05 +0000 (05:02 +0000)]
merge with 3.9q

30 years agomerge with 1.10w
Jim Meyering [Thu, 27 Oct 1994 04:47:39 +0000 (04:47 +0000)]
merge with 1.10w

30 years ago.
Jim Meyering [Thu, 27 Oct 1994 04:18:00 +0000 (04:18 +0000)]
.

30 years agomerge with 1.10u
Jim Meyering [Mon, 24 Oct 1994 20:07:32 +0000 (20:07 +0000)]
merge with 1.10u

30 years ago.
Jim Meyering [Fri, 21 Oct 1994 13:37:48 +0000 (13:37 +0000)]
.

30 years agomerge with 1.10t
Jim Meyering [Fri, 21 Oct 1994 05:25:03 +0000 (05:25 +0000)]
merge with 1.10t

30 years ago.
Jim Meyering [Thu, 20 Oct 1994 16:22:32 +0000 (16:22 +0000)]
.

30 years agomerge with 3.9p
Jim Meyering [Thu, 20 Oct 1994 16:16:39 +0000 (16:16 +0000)]
merge with 3.9p

30 years agoInitial revision
Jim Meyering [Thu, 20 Oct 1994 16:10:00 +0000 (16:10 +0000)]
Initial revision

30 years ago.
Jim Meyering [Thu, 20 Oct 1994 15:29:38 +0000 (15:29 +0000)]
.

30 years ago.
Jim Meyering [Thu, 20 Oct 1994 14:57:33 +0000 (14:57 +0000)]
.

30 years ago.
Jim Meyering [Thu, 20 Oct 1994 14:48:51 +0000 (14:48 +0000)]
.

30 years ago.
Jim Meyering [Thu, 20 Oct 1994 04:42:43 +0000 (04:42 +0000)]
.

30 years agomerge with 1.9.1h
Jim Meyering [Wed, 19 Oct 1994 03:39:33 +0000 (03:39 +0000)]
merge with 1.9.1h