Re: getcwd() returns with stale errno value upon error
From:
Richard Weinberger
Subject:
Re: getcwd() returns with stale errno value upon error
Date:
Thu, 26 Jun 2025 08:48:08 +0200
On Donnerstag, 26. Juni 2025 08:45 Phi Debian wrote:
> That's true that the bash shell-init: could be omitted and defered until
> one ask for pwd explicitly.
>
> I don't see any *ino* jazz here, but the classic, my current dir has been
> removed under my feet.
>
> I may have mis-read the *ino* part though.
Removing the directory is just another way to let the algorithm fail
due to not being able to match the results from stat() and readdir().
Thanks,
//richard
--
sigma star gmbh | Eduard-Bodem-Gasse 6, 6020 Innsbruck, AUT UID/VAT Nr:
ATU 66964118 | FN: 374287y