Created attachment 10857 [details]
Use x_unlink() instead of unlink() per HACKING.txt
CAVEAT: The uploaded patch was created during the work to support
-gsplit-dwarf (FissionDwarf) of GCC. (See bug 10005 )
Some of the patches have interdependence and if earlier patches are
not applied, the later ones may fail. I will re-create patches
appropriately depending on how an earlier patch is incorporated (or
The whole list of broken patches below were uploaded in bug 10005 for
convenience, but now separate bugzilla is filed to follow up on each of it
(except for the main -gsplit-dwarf support, in bug 10005).
What this entry is about:
HACKING.txt suggests we should always use x_unlink() instead of
I noticed a use of unlink() crept in, and this patch fixes it by
This is actually not related to the support for -gsplit-dwarf, and
so I am filing this separate bugzilla.
Since this changes ccache.c, it may interfere with the later
patch application if this is not applied to ccache repository. (see
Included in v3.2.2.