2010-05-27 Richard Guenther <rguenther@suse.de>
* lto-wrapper.c (maybe_unlink_file): Ignore unlink failure
for non-existant files.
(fork_execute): Mark args_name file as deleted.
From-SVN: r159913
+2010-05-27 Richard Guenther <rguenther@suse.de>
+
+ * lto-wrapper.c (maybe_unlink_file): Ignore unlink failure
+ for non-existant files.
+ (fork_execute): Mark args_name file as deleted.
+
2010-05-27 Kai Tietz <kai.tietz@onevision.com>
PR bootstrp/44287
#include "config.h"
#include "system.h"
+#include <errno.h>
#include "coretypes.h"
#include "tm.h"
#include "intl.h"
{
if (! debug)
{
- if (unlink_if_ordinary (file))
+ if (unlink_if_ordinary (file)
+ && errno != ENOENT)
fatal_perror ("deleting LTRANS file %s", file);
}
else
collect_wait (new_argv[0], pex);
maybe_unlink_file (args_name);
+ args_name = NULL;
free (at_args);
}