From 1c70e8347489cce1292fe23484d78dd2622ee7f8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 May 1999 04:15:43 +0000 Subject: [PATCH] *** empty log message *** --- old/fileutils/ChangeLog | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index ea4096b..2d5a351 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,14 +1,36 @@ +1999-04-30 Paul Eggert + + * lib/dup2.c: New file. + 1999-04-30 Jim Meyering * src/touch.c (usage): Mention --no-create. Only do the fstat if we need to. - On directories, resort to doing a stat, when necessary. + On directories, resort to doing a stat, but only when necessary. * src/copy.c (copy_internal): Move the one-file-system test so that it follows the `if (new_dst || !S_ISDIR (dst_sb.st_mode))' block. Prior to this change, `cp --one-file-system' would traverse a file- system boundary if the destination directory existed. From Ton Hospel. +1999-04-27 Paul Eggert + + * src/dd.c: Always use STDIN_FILENO for input and STDOUT_FILENO + for output, to avoid confusion with closed input and output fds. + (input_fd, output_fd): Remove; all uses changed to STDIN_FILENO + and STDOUT_FILENO. + (open_fd): New function. + (main): Use it, instead of open, to ensure that file descriptors + don't get confused. + +1999-04-26 Paul Eggert + + * src/ls.c (decode_switches): Use STDIN_FILENO, STDOUT_FILENO instead + of 0, 1. + + * src/dd.c (skip): Don't fstat the input file; the result is + no longer used. + 1999-04-26 Jim Meyering * tests/mv/into-self-2: Update to reflect this change by reversing -- 2.7.4