Include fcntl--.h rather than unistd-safer.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:20:33 +0000 (07:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:20:33 +0000 (07:20 +0000)
commitc030201e6d03470b46ff2c941c62a83b29ce9d13
tree3e9d1b0d7d31891ed36fed40e0041c4db6b96bca
parentd0baad324dcc815c2f3baf05b33bfe3328addfe1
Include fcntl--.h rather than unistd-safer.h.
Include fd-reopen.h.
(input_desc): Remove.  All uses replaced by STDIN_FILENO.
(cwrite): Don't call fd_safer; no longer needed now that
we include fcntl--.h.
(main): Reuse stdin rather than opening a new one.  This
saves a file descriptor.
src/split.c