[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: awk inplace overrides symlinks
From: |
Eli Zaretskii |
Subject: |
Re: awk inplace overrides symlinks |
Date: |
Fri, 09 Feb 2024 16:21:29 +0200 |
> Date: Fri, 9 Feb 2024 08:48:08 -0500
> From: "Andrew J. Schorr" <aschorr@telemetry-investments.com>
> Cc: arnold@skeeve.com, avidseeker7@protonmail.com, bug-gawk@gnu.org
>
> On Fri, Feb 09, 2024 at 01:46:21PM +0200, Eli Zaretskii wrote:
> > > From: arnold@skeeve.com
> > > Date: Fri, 09 Feb 2024 01:45:18 -0700
> > > Cc: bug-gawk@gnu.org
> > >
> > > Andy, I think using lstat() and fataling on symlink is fine.
> >
> > Please also make sure the new code does TRT on platforms which don't
> > define HAVE_LSTAT in their config.h.
> >
>
> Hmmm. How about realpath? Is that universally supported?
No. It could be emulated, though.
But why would realpath be needed in the !HAVE_LSTAT case? In that
case no file is ever a symlink, so the code which caters for symlinks
should not be used on such platforms.
- awk inplace overrides symlinks, Avid Seeker, 2024/02/08
- Message not available
- Re: awk inplace overrides symlinks, Andrew J. Schorr, 2024/02/09
- Re: awk inplace overrides symlinks, Ed Morton, 2024/02/09
- Re: awk inplace overrides symlinks, Andrew J. Schorr, 2024/02/09
- Re: awk inplace overrides symlinks, Tim Rice, 2024/02/09
- Re: awk inplace overrides symlinks, arnold, 2024/02/10
- Re: awk inplace overrides symlinks, Tim Rice, 2024/02/11
- Re: awk inplace overrides symlinks, arnold, 2024/02/11
- Re: awk inplace overrides symlinks, Tim Rice, 2024/02/12
- Re: awk inplace overrides symlinks, arnold, 2024/02/12