platform/upstream/coreutils.git
19 years agoReject unknown options.
Paul Eggert [Tue, 21 Sep 2004 22:05:52 +0000 (22:05 +0000)]
Reject unknown options.

19 years agoReject unknown options.
Paul Eggert [Tue, 21 Sep 2004 22:05:27 +0000 (22:05 +0000)]
Reject unknown options.

19 years agoInclude <getopt.h>.
Paul Eggert [Tue, 21 Sep 2004 22:04:31 +0000 (22:04 +0000)]
Include <getopt.h>.
(main): Use getopt where it suffices, not getopt_long.

19 years agoInclude <getopt.h>.
Paul Eggert [Tue, 21 Sep 2004 22:01:50 +0000 (22:01 +0000)]
Include <getopt.h>.
(main): Reject unknown options.

19 years agoInclude <getopt.h>.
Paul Eggert [Tue, 21 Sep 2004 22:01:28 +0000 (22:01 +0000)]
Include <getopt.h>.
(main): Reject unknown options.

19 years agoThe following commands now reject unknown options:
Paul Eggert [Tue, 21 Sep 2004 22:00:27 +0000 (22:00 +0000)]
The following commands now reject unknown options:
basename dirname factor hostname link nohup sync unlink yes
Also, pathchk no longer accepts trailing options.

19 years ago* man/rm.x: Say "the response is affirmative".
Paul Eggert [Tue, 21 Sep 2004 07:54:15 +0000 (07:54 +0000)]
* man/rm.x: Say "the response is affirmative".

19 years agoSay "the response is affirmative" rather than "the
Paul Eggert [Tue, 21 Sep 2004 07:53:54 +0000 (07:53 +0000)]
Say "the response is affirmative" rather than "the
response begins with y or Y".

19 years ago* coreutils.texi (mv invocation, rm invocation): Say "the response
Paul Eggert [Tue, 21 Sep 2004 05:56:21 +0000 (05:56 +0000)]
* coreutils.texi (mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y".

19 years ago(mv invocation, rm invocation): Say "the response
Paul Eggert [Tue, 21 Sep 2004 05:56:11 +0000 (05:56 +0000)]
(mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y".

19 years agoFix echo off-by-1 bug.
Paul Eggert [Mon, 20 Sep 2004 07:34:26 +0000 (07:34 +0000)]
Fix echo off-by-1 bug.

19 years ago(main): Don't dump core if POSIXLY_CORRECT and given no arguments.
Paul Eggert [Mon, 20 Sep 2004 06:32:10 +0000 (06:32 +0000)]
(main): Don't dump core if POSIXLY_CORRECT and given no arguments.

19 years agoRemove md5sum --string.
Paul Eggert [Sun, 19 Sep 2004 16:53:00 +0000 (16:53 +0000)]
Remove md5sum --string.

19 years ago(STRING_OPTION): Remove.
Paul Eggert [Sun, 19 Sep 2004 16:52:50 +0000 (16:52 +0000)]
(STRING_OPTION): Remove.
(long_options, main): Remove support for undocumented and
obsolete --string option, as suggested in the 1996-09-26 patch.

19 years agoFix sticky-directory test case bug reported by Bert Fischer.
Paul Eggert [Sun, 19 Sep 2004 07:11:48 +0000 (07:11 +0000)]
Fix sticky-directory test case bug reported by Bert Fischer.

19 years agoDon't try to remove writeable files in a sticky /tmp directory, as
Paul Eggert [Sun, 19 Sep 2004 07:11:16 +0000 (07:11 +0000)]
Don't try to remove writeable files in a sticky /tmp directory, as
SVR4-like systems (e.g., Solaris 9) let you remove such files.

19 years agom5sum cleanup
Paul Eggert [Sun, 19 Sep 2004 02:21:18 +0000 (02:21 +0000)]
m5sum cleanup

19 years ago(STATUS_OPTION, STRING_OPTION): New enums.
Paul Eggert [Sun, 19 Sep 2004 02:21:09 +0000 (02:21 +0000)]
(STATUS_OPTION, STRING_OPTION): New enums.
(long_options, main): Use them instead of magic numbers 2 and 1.
For --string, optarg can't possibly be NULL.

19 years agodd invocation fixes
Paul Eggert [Sun, 19 Sep 2004 02:14:09 +0000 (02:14 +0000)]
dd invocation fixes

19 years agoLog changes to dd, chroot, cksum.
Paul Eggert [Sun, 19 Sep 2004 02:13:56 +0000 (02:13 +0000)]
Log changes to dd, chroot, cksum.

19 years ago(dd invocation): Distinguish between options
Paul Eggert [Sun, 19 Sep 2004 01:46:28 +0000 (01:46 +0000)]
(dd invocation): Distinguish between options
(e.g., --help) and operands (e.g., if=file).  Move miscellaneous
stuff after the operand descriptions, for clarity.

19 years ago(usage): Distinguish between options and operands.
Paul Eggert [Sun, 19 Sep 2004 01:46:09 +0000 (01:46 +0000)]
(usage): Distinguish between options and operands.
(scanargs): Don't mess with argc, argv; getopt_long handles this now.
Say "operands" for operands, not "options".
(main): Use getopt_long, so that "dd --" works as POSIX requires.

19 years agoCheck for "dd --".
Paul Eggert [Sun, 19 Sep 2004 01:45:48 +0000 (01:45 +0000)]
Check for "dd --".

19 years ago(main): Usage failure is EXIT_FAIL, not EXIT_FAILURE.
Paul Eggert [Sun, 19 Sep 2004 01:07:46 +0000 (01:07 +0000)]
(main): Usage failure is EXIT_FAIL, not EXIT_FAILURE.

19 years agoFix typo in previous change.
Paul Eggert [Sun, 19 Sep 2004 01:02:30 +0000 (01:02 +0000)]
Fix typo in previous change.

19 years ago(main): Reject unknown options instead of
Paul Eggert [Sun, 19 Sep 2004 00:58:47 +0000 (00:58 +0000)]
(main): Reject unknown options instead of
interpreting them as a directory to chroot to.

19 years agoRemove obsolete comment about POSIX 1003.2/D11.2.
Paul Eggert [Sun, 19 Sep 2004 00:39:52 +0000 (00:39 +0000)]
Remove obsolete comment about POSIX 1003.2/D11.2.
The current standard (POSIX 1003.1-2004) is correct.
(crc_remainder) [defined CRCTAB]: Renamed from "remainder" to avoid
collision with builtin function.
(main) [defined CRCTAB]: Output in lowercase hexadecimal, and
output the first 0 as 8 digits, to make it easier to compare to
the text of the standard.  Output crctab to be a const array.
(crctab): Use result of above changes.
(long_options): Remove; not needed if empty.
(main): getopt_long can't return 0 here, so simplify the code.

19 years agoRegenerate.
Paul Eggert [Mon, 13 Sep 2004 13:05:51 +0000 (13:05 +0000)]
Regenerate.

19 years ago(localedir.h): Don't redirect directly to target.
Paul Eggert [Mon, 13 Sep 2004 13:05:08 +0000 (13:05 +0000)]
(localedir.h): Don't redirect directly to target.

19 years ago* src/Makefile.am (localedir.h): Don't redirect directly to target.
Paul Eggert [Mon, 13 Sep 2004 13:04:37 +0000 (13:04 +0000)]
* src/Makefile.am (localedir.h): Don't redirect directly to target.

19 years agoRegenerate.
Paul Eggert [Mon, 13 Sep 2004 12:17:20 +0000 (12:17 +0000)]
Regenerate.

19 years agoAdd -Wshadow.
Paul Eggert [Mon, 13 Sep 2004 12:16:08 +0000 (12:16 +0000)]
Add -Wshadow.

19 years agoRename backup enum to avoid shadowing problems.
Paul Eggert [Mon, 13 Sep 2004 12:15:56 +0000 (12:15 +0000)]
Rename backup enum to avoid shadowing problems.

19 years agoAdjust to backup enum rename.
Paul Eggert [Mon, 13 Sep 2004 12:15:02 +0000 (12:15 +0000)]
Adjust to backup enum rename.

19 years agoAdjust to backup file rename.
Paul Eggert [Mon, 13 Sep 2004 12:13:04 +0000 (12:13 +0000)]
Adjust to backup file rename.

19 years agoAdjust to backup enum rename.
Paul Eggert [Mon, 13 Sep 2004 12:12:26 +0000 (12:12 +0000)]
Adjust to backup enum rename.

19 years ago(enum backuptype): Rename none -> no_backups,
Paul Eggert [Mon, 13 Sep 2004 12:11:34 +0000 (12:11 +0000)]
(enum backuptype): Rename none -> no_backups,
simple -> simple_backups, numbered_existing ->
numbered_existing_backups, numbered -> numbered_backups
to avoid shadowing problems.  All uses changed.
(VALID_BACKUP_TYPE): Don't evaluate arg more than once.

19 years ago(check_extension, numbered_backup):
Paul Eggert [Mon, 13 Sep 2004 12:10:57 +0000 (12:10 +0000)]
(check_extension, numbered_backup):
Rename locals to avoid shadowing 'basename'.

19 years ago(enum backuptype): Rename none -> no_backups,
Paul Eggert [Mon, 13 Sep 2004 12:10:30 +0000 (12:10 +0000)]
(enum backuptype): Rename none -> no_backups,
simple -> simple_backups, numbered_existing ->
numbered_existing_backups, numbered -> numbered_backups
to avoid shadowing problems.  All uses changed.

19 years ago(my-distcheck): When building with -Werror, also require -Wshadow.
Paul Eggert [Mon, 13 Sep 2004 12:08:33 +0000 (12:08 +0000)]
(my-distcheck): When building with -Werror, also require -Wshadow.

19 years agoid shouldn't fail simply because some numbers can't be resolved.
Paul Eggert [Mon, 13 Sep 2004 10:44:02 +0000 (10:44 +0000)]
id shouldn't fail simply because some numbers can't be resolved.

19 years ago(print_full_info): Don't exit with failure status simply
Paul Eggert [Mon, 13 Sep 2004 10:43:21 +0000 (10:43 +0000)]
(print_full_info): Don't exit with failure status simply
because a user or group number can't be turned into a name.

19 years ago"tail" now handles obscure POSIX 1003.2-1992 cases better.
Paul Eggert [Fri, 10 Sep 2004 20:54:47 +0000 (20:54 +0000)]
"tail" now handles obscure POSIX 1003.2-1992 cases better.

19 years ago(test_vector): minus-* requires
Paul Eggert [Fri, 10 Sep 2004 20:54:32 +0000 (20:54 +0000)]
(test_vector): minus-* requires
_POSIX2_VERSION=199209 now, to work correctly if there is
an input file.  err-1 and err-3 no longer errors if there
is another file.

19 years ago(parse_obsolete_option): Renamed from
Paul Eggert [Fri, 10 Sep 2004 20:54:08 +0000 (20:54 +0000)]
(parse_obsolete_option): Renamed from
parse_obsolescent_option, since the options are obsolete now.
Remove bool *arg; just exit if there's an error.  Revamp to follow
POSIX 1003.2-1992 more precisely, to handle cases like "tail -
file" and "tail -10 -- file" correctly when we are conforming to
the older standard.
(main): Adjust to this change.

19 years ago"tail" now handles obscure POSIX 1003.2-1992 cases better.
Paul Eggert [Fri, 10 Sep 2004 20:53:53 +0000 (20:53 +0000)]
"tail" now handles obscure POSIX 1003.2-1992 cases better.

19 years agosrc/test.c (usage): Document -r, -w, -x more carefully.
Paul Eggert [Thu, 9 Sep 2004 23:21:58 +0000 (23:21 +0000)]
src/test.c (usage): Document -r, -w, -x more carefully.

19 years agoDocument test -r, -w, -x more carefully.
Paul Eggert [Thu, 9 Sep 2004 23:21:51 +0000 (23:21 +0000)]
Document test -r, -w, -x more carefully.

19 years ago(test invocation): Document -r, -w, -x more carefully.
Paul Eggert [Thu, 9 Sep 2004 23:21:38 +0000 (23:21 +0000)]
(test invocation): Document -r, -w, -x more carefully.

19 years ago(usage): Document -r, -w, -x more carefully.
Paul Eggert [Thu, 9 Sep 2004 23:21:20 +0000 (23:21 +0000)]
(usage): Document -r, -w, -x more carefully.

19 years agoRevamp sort last-resort comparison description.
Paul Eggert [Thu, 9 Sep 2004 23:02:40 +0000 (23:02 +0000)]
Revamp sort last-resort comparison description.

19 years ago(sort invocation): -u disables the last-resort
Paul Eggert [Thu, 9 Sep 2004 23:02:12 +0000 (23:02 +0000)]
(sort invocation): -u disables the last-resort
comparison, too.  Revamp its description.

19 years agoDocument that test -h and -L don't dereference.
Paul Eggert [Thu, 9 Sep 2004 04:15:32 +0000 (04:15 +0000)]
Document that test -h and -L don't dereference.

19 years agosrc/test.c: document that -h and -L don't dereference.
Paul Eggert [Thu, 9 Sep 2004 04:15:19 +0000 (04:15 +0000)]
src/test.c: document that -h and -L don't dereference.

19 years ago(usage): Mention that -h and -L don't dereference.
Paul Eggert [Thu, 9 Sep 2004 04:15:02 +0000 (04:15 +0000)]
(usage): Mention that -h and -L don't dereference.

19 years ago(test invocation): Mention that -h and -L don't dereference symlinks.
Paul Eggert [Thu, 9 Sep 2004 04:14:49 +0000 (04:14 +0000)]
(test invocation): Mention that -h and -L don't dereference symlinks.

19 years ago* src/test.c (usage): Document "test" (with no args) and "[ ]".
Paul Eggert [Thu, 9 Sep 2004 03:54:26 +0000 (03:54 +0000)]
* src/test.c (usage): Document "test" (with no args) and "[ ]".

19 years ago(test invocation): Use better synopses.
Paul Eggert [Thu, 9 Sep 2004 03:54:13 +0000 (03:54 +0000)]
(test invocation): Use better synopses.

19 years ago(usage): Document "test" (with no args) and "[ ]".
Paul Eggert [Thu, 9 Sep 2004 03:53:54 +0000 (03:53 +0000)]
(usage): Document "test" (with no args) and "[ ]".

19 years agoMention option-reordering, particularly with tr.
Paul Eggert [Thu, 9 Sep 2004 00:29:27 +0000 (00:29 +0000)]
Mention option-reordering, particularly with tr.

19 years ago(Common options): Some programs don't reorder
Paul Eggert [Thu, 9 Sep 2004 00:29:09 +0000 (00:29 +0000)]
(Common options): Some programs don't reorder
options.
(tr invocation, echo invocation, printf invocation, test invocation,
expr invocation, basename invocation, chroot invocation,
nice invocation, nohup invocation, seq invocation):
This program doesn't reorder options.
(tr invocation): Mention --help, --version, --.
(echo invocation): Mention that -- isn't special.
(test invocation): Mention that the expression is optional,
and that test ! EXPR is like ! test EXPR.
(expr invocation): Mention --help, --version.

19 years agoFix "tr xy -z" bug.
Paul Eggert [Thu, 9 Sep 2004 00:28:44 +0000 (00:28 +0000)]
Fix "tr xy -z" bug.

19 years ago(fowler-1): New test case.
Paul Eggert [Thu, 9 Sep 2004 00:28:18 +0000 (00:28 +0000)]
(fowler-1): New test case.

19 years ago(main): Don't reorder options.
Paul Eggert [Thu, 9 Sep 2004 00:27:56 +0000 (00:27 +0000)]
(main): Don't reorder options.

19 years agoDocument that "tr xy -z" now works as per POSIX.
Paul Eggert [Thu, 9 Sep 2004 00:27:45 +0000 (00:27 +0000)]
Document that "tr xy -z" now works as per POSIX.
Sort the descriptions.

19 years agoUndo previous change.
Paul Eggert [Wed, 8 Sep 2004 23:07:04 +0000 (23:07 +0000)]
Undo previous change.

19 years agosort -u versus sort | uniq.
Paul Eggert [Wed, 8 Sep 2004 19:29:41 +0000 (19:29 +0000)]
sort -u versus sort | uniq.

19 years ago(sort invocation): Add remarks about sort -u versus sort | uniq.
Paul Eggert [Wed, 8 Sep 2004 19:29:18 +0000 (19:29 +0000)]
(sort invocation): Add remarks about sort -u versus sort | uniq.
Prompted by a question from Andrew Noymer.

19 years agoc-strtod.c sets LC_ALL, not LC_NUMERIC.
Paul Eggert [Wed, 8 Sep 2004 17:02:01 +0000 (17:02 +0000)]
c-strtod.c sets LC_ALL, not LC_NUMERIC.

19 years ago(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
Paul Eggert [Wed, 8 Sep 2004 17:00:24 +0000 (17:00 +0000)]
(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
unlikely possibility of mixed locales screwing things up.

19 years agoFix "touch -- MMDDhhmm file" bug.
Paul Eggert [Tue, 7 Sep 2004 06:23:39 +0000 (06:23 +0000)]
Fix "touch -- MMDDhhmm file" bug.

19 years agoTest for "touch -- MMDDmm file" bug. Also, set
Paul Eggert [Tue, 7 Sep 2004 06:23:09 +0000 (06:23 +0000)]
Test for "touch -- MMDDmm file" bug.  Also, set
_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's
a better test for obsolescent features.

19 years agoDocument "touch" POSIX-conformance fix.
Paul Eggert [Tue, 7 Sep 2004 06:22:13 +0000 (06:22 +0000)]
Document "touch" POSIX-conformance fix.

19 years ago(main): Fix POSIX-conformance bug: "touch --
Paul Eggert [Tue, 7 Sep 2004 06:21:46 +0000 (06:21 +0000)]
(main): Fix POSIX-conformance bug: "touch --
MMDDhhmm file" must be treated like "touch MMDDhhmm file" when
conforming to pre-2001 POSIX.

19 years agoEmulate Solaris 8 "sort -y" better.
Paul Eggert [Tue, 7 Sep 2004 05:09:48 +0000 (05:09 +0000)]
Emulate Solaris 8 "sort -y" better.

19 years ago(main): Emulate Solaris 8 and 9 "sort -y", so that
Paul Eggert [Tue, 7 Sep 2004 05:09:24 +0000 (05:09 +0000)]
(main): Emulate Solaris 8 and 9 "sort -y", so that
"sort -y abc" is like "sort abc" whereas "sort -y 100" is like
plain "sort".

19 years agoAdd NEWS item for "od" changes.
Paul Eggert [Mon, 6 Sep 2004 07:49:21 +0000 (07:49 +0000)]
Add NEWS item for "od" changes.

19 years agoSeveral "od" changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:49:06 +0000 (07:49 +0000)]
Several "od" changes for POSIX and FreeBSD compatibility.

19 years agoSeveral od changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:47:21 +0000 (07:47 +0000)]
Several od changes for POSIX and FreeBSD compatibility.

19 years ago(od invocation): Several changes for POSIX
Paul Eggert [Mon, 6 Sep 2004 07:47:04 +0000 (07:47 +0000)]
(od invocation): Several changes for POSIX
and FreeBSD compatibility.  Add support for XSI syntax
(POSIX 1003.1-2004).  Rename -s[N] to -S N.  Remove documentation
for -h.  -i is now -t dI (not d2) and -l is now -t dL (not d4).

19 years agoSeveral changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:46:43 +0000 (07:46 +0000)]
Several changes for POSIX and FreeBSD compatibility.
(COMMON_SHORT_OPTIONS): Add -B, -D, -e, -F, -H, -I, -L, -O, -s, -X.
(long_options, main): --strings is now -S, not -s.
(usage): Reflect the usage changes.
(parse_old_offset): Do not issue a diagnostic on failure;
callers now do this as necessary.
(main): Support POSIX syntax.  Remove unused case 0 from getopt_long.
Add support for new short options (many undocumented) for
compatibility with FreeBSD.  Remove FIXME for -s; it's now
POSIX-compatible.  Default format is now oS, not o2.

19 years agoImprove quoting doc.
Paul Eggert [Mon, 6 Sep 2004 01:03:29 +0000 (01:03 +0000)]
Improve quoting doc.

19 years ago(String tests): Improve quality of warning about
Paul Eggert [Mon, 6 Sep 2004 01:03:20 +0000 (01:03 +0000)]
(String tests): Improve quality of warning about
quoting strings for the shell.

19 years agoSort options in usage message.
Paul Eggert [Mon, 6 Sep 2004 01:00:03 +0000 (01:00 +0000)]
Sort options in usage message.

19 years agoStty option-parsing fixes.
Paul Eggert [Sun, 5 Sep 2004 07:28:11 +0000 (07:28 +0000)]
Stty option-parsing fixes.

19 years ago(recover_mode): Arg is now char const *, not char *.
Paul Eggert [Sun, 5 Sep 2004 07:27:51 +0000 (07:27 +0000)]
(recover_mode): Arg is now char const *, not char *.
(main): Use STDIN_FILENO, not 0.
Simplify option-parsing code a tad.

19 years agoCheck for the fixed stty option-parsing bugs.
Paul Eggert [Sun, 5 Sep 2004 07:22:21 +0000 (07:22 +0000)]
Check for the fixed stty option-parsing bugs.

19 years ago(valid_options): Remove.
Paul Eggert [Sun, 5 Sep 2004 07:21:42 +0000 (07:21 +0000)]
(valid_options): Remove.
(main): Fix some bugs in handling invalid option-combinations
like "stty -F".

19 years agoRegenerate.
Paul Eggert [Sun, 5 Sep 2004 07:11:47 +0000 (07:11 +0000)]
Regenerate.

19 years agoMinor stat.c patches from Pozsar Balazs for GNU/Linux.
Paul Eggert [Fri, 3 Sep 2004 21:59:03 +0000 (21:59 +0000)]
Minor stat.c patches from Pozsar Balazs for GNU/Linux.

19 years ago(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented
Paul Eggert [Fri, 3 Sep 2004 21:58:36 +0000 (21:58 +0000)]
(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented
it from ever being nonzero.  Reported by Pozsar Balazs in:
http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00189.html
(human_fstype): Add ramfs, squashfs, sysfs.
Reported by Pozsar Balazs in:
http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00188.html
(human_fstype): Return char const *, not char *.
Simplify internals a bit, and avoid casts.

19 years agodd minor cleanup for conversions
Paul Eggert [Fri, 3 Sep 2004 08:11:52 +0000 (08:11 +0000)]
dd minor cleanup for conversions

19 years ago(usage): "alternated EBCDIC" -> "alternate EBCDIC".
Paul Eggert [Fri, 3 Sep 2004 08:11:34 +0000 (08:11 +0000)]
(usage): "alternated EBCDIC" -> "alternate EBCDIC".
(bit_count): Remove.  All uses changed to....
(multiple_bits_set): New function.
(scanargs): Use it, and check separately for each set of
incompatible options, to improve diagnostics.
(MX): Remove.
(apply_translations): Move checks for incompatible options
to scanargs, so that they're done consistently.

19 years agodd conversion option cleanup.
Paul Eggert [Fri, 3 Sep 2004 08:01:21 +0000 (08:01 +0000)]
dd conversion option cleanup.

19 years ago(dd invocation): Specify which conversion options
Paul Eggert [Fri, 3 Sep 2004 08:00:48 +0000 (08:00 +0000)]
(dd invocation): Specify which conversion options
are mutually exclusive.  Give a bit more detail about ascii,
ebcdic, and ibm conversions.

19 years agoOutput correct errno-related diagnostic on "paste" I/O errors.
Paul Eggert [Fri, 3 Sep 2004 01:35:50 +0000 (01:35 +0000)]
Output correct errno-related diagnostic on "paste" I/O errors.
Improve diet libc port.

19 years agoOutput correct errno-related diagnostic on "paste" I/O errors.
Paul Eggert [Fri, 3 Sep 2004 01:35:33 +0000 (01:35 +0000)]
Output correct errno-related diagnostic on "paste" I/O errors.
(write_error, xputchar): New functions.
(paste_parallel): Use correct errno value after input error.
(paste_parallel, paste_serial): Report errno value after output error.

19 years ago(paste_parallel): Improve replacement for ENDLIST and CLOSED.
Paul Eggert [Fri, 3 Sep 2004 01:23:15 +0000 (01:23 +0000)]
(paste_parallel): Improve replacement for ENDLIST and CLOSED.

19 years agoPort to diet libc.
Paul Eggert [Thu, 2 Sep 2004 23:59:52 +0000 (23:59 +0000)]
Port to diet libc.

19 years ago(FTSENT): Use "unsigned short int" rather than the unportable "u_short".
Paul Eggert [Thu, 2 Sep 2004 23:57:30 +0000 (23:57 +0000)]
(FTSENT): Use "unsigned short int" rather than the unportable "u_short".