(copy_to_temp): Don't call fd_safer; no longer needed now
that we include stdlib--.h.
#include "quote.h"
#include "quotearg.h"
#include "safe-read.h"
-#include "unistd-safer.h"
+#include "stdlib--.h"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tac"
return false;
}
- if ((fd = fd_safer (fd)) < 0 || ! (tmp = fdopen (fd, "w+")))
+ tmp = fdopen (fd, "w+");
+ if (! tmp)
{
error (0, errno, _("cannot open %s for writing"), quote (tempfile));
close (fd);