* lto-wrapper.c (copy_file) Close both file descriptors before
exiting normally. From-SVN: r249841
This commit is contained in:
parent
aaa587d46d
commit
367e91e1c5
@ -1,3 +1,8 @@
|
||||
2017-06-30 Sylvestre Ledru <sylvestre@debian.org>
|
||||
|
||||
* lto-wrapper.c (copy_file) Close both file descriptors before
|
||||
exiting normally.
|
||||
|
||||
2017-06-30 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR ipa/81214
|
||||
|
@ -838,6 +838,8 @@ copy_file (const char *dest, const char *src)
|
||||
fatal_error (input_location, "writing output file");
|
||||
}
|
||||
}
|
||||
fclose (d);
|
||||
fclose (s);
|
||||
}
|
||||
|
||||
/* Find the crtoffloadtable.o file in LIBRARY_PATH, make copy and pass name of
|
||||
|
Loading…
Reference in New Issue
Block a user