summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-02 15:47:03 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-02 16:46:59 -0700
commit59daf05b75f1898ff435ff13983da8d20d4436aa (patch)
treeefb34a7f55db18375a899df5ca7843920680bf54 /README
parent44fbd3fd862e34d42006f8b74cb11c9c56346417 (diff)
downloadcoreutils-59daf05b75f1898ff435ff13983da8d20d4436aa.tar.xz
sort: simplify -o handling to avoid fdopen, assert
* src/sort.c (outfd): Remove. All uses replaced by STDOUT_FILENO. (stream_open): When writing, use stdout rather than fdopen. (move_fd_or_die): Renamed from dup2_or_die, with the added functionality of closing its first argument. All uses changed. (avoid_trashing_input): Special case for !outfile no longer needed. (check_output): Arrange for standard output to go to the file, rather than storing the fd in outfd.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions