Re: [PATCH] fixincludes: don't abort() on access failure [PR103306]

2021-11-23 Thread Jeff Law via Gcc-patches
On 11/23/2021 2:31 AM, Xi Ruoyao wrote: On Mon, 2021-11-22 at 17:37 -0700, Jeff Law wrote: On 11/18/2021 4:01 AM, Xi Ruoyao via Gcc-patches wrote: Some distro may ship dangling symlinks in include directories, triggers the access failure.  Skip it and continue to next header instead of

Re: [PATCH] fixincludes: don't abort() on access failure [PR103306]

2021-11-23 Thread Xi Ruoyao via Gcc-patches
On Mon, 2021-11-22 at 17:37 -0700, Jeff Law wrote: > > > On 11/18/2021 4:01 AM, Xi Ruoyao via Gcc-patches wrote: > > Some distro may ship dangling symlinks in include directories, > > triggers > > the access failure.  Skip it and continue to next header instead of > > being to panic. > > > >

Re: [PATCH] fixincludes: don't abort() on access failure [PR103306]

2021-11-22 Thread Jeff Law via Gcc-patches
On 11/18/2021 4:01 AM, Xi Ruoyao via Gcc-patches wrote: Some distro may ship dangling symlinks in include directories, triggers the access failure. Skip it and continue to next header instead of being to panic. Restore to old behavior before r12-5234 but without resurrecting the problematic

[PATCH] fixincludes: don't abort() on access failure [PR103306]

2021-11-18 Thread Xi Ruoyao via Gcc-patches
Some distro may ship dangling symlinks in include directories, triggers the access failure. Skip it and continue to next header instead of being to panic. Restore to old behavior before r12-5234 but without resurrecting the problematic getcwd() call, by using the environment variable "INPUT"