From: Jim Meyering Date: Thu, 26 Oct 1995 13:20:25 +0000 (+0000) Subject: (main): Use xfopen, not xtmpopen to open final output file. X-Git-Tag: v4.5.1~12283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9485b8d524faf4cc22bc44901464f13e79536ea;p=thirdparty%2Fcoreutils.git (main): Use xfopen, not xtmpopen to open final output file. --- diff --git a/src/sort.c b/src/sort.c index edae0f8ce5..f6c4f07c20 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1857,7 +1857,7 @@ main (int argc, char **argv) files[i] = tmp; } } - ofp = xtmpfopen (outfile); + ofp = xfopen (outfile, "w"); } else ofp = stdout;