(main): Use xfopen, not xtmpopen to open final output file.
authorJim Meyering <jim@meyering.net>
Thu, 26 Oct 1995 13:20:25 +0000 (13:20 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 26 Oct 1995 13:20:25 +0000 (13:20 +0000)
src/sort.c

index edae0f8..f6c4f07 100644 (file)
@@ -1857,7 +1857,7 @@ main (int argc, char **argv)
              files[i] = tmp;
            }
        }
-      ofp = xtmpfopen (outfile);
+      ofp = xfopen (outfile, "w");
     }
   else
     ofp = stdout;