*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 1 May 1999 04:15:43 +0000 (04:15 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 1 May 1999 04:15:43 +0000 (04:15 +0000)
old/fileutils/ChangeLog

index ea4096b..2d5a351 100644 (file)
@@ -1,14 +1,36 @@
+1999-04-30  Paul Eggert  <eggert@twinsun.com>
+
+       * lib/dup2.c: New file.
+
 1999-04-30  Jim Meyering  <meyering@ascend.com>
 
        * 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  <eggert@twinsun.com>
+
+       * 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  <eggert@twinsun.com>
+
+       * 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  <meyering@ascend.com>
 
        * tests/mv/into-self-2: Update to reflect this change by reversing