Re: getcwd() returns with stale errno value upon error
From:
Oğuz
Subject:
Re: getcwd() returns with stale errno value upon error
Date:
Wed, 25 Jun 2025 21:34:37 +0300
On Wednesday, June 25, 2025, Richard Weinberger <richard@sigma-star.at>
wrote:
>
> Having different results for d_ino and st_ino is not that uncommon.
>
POSIX defines both fields to contain the unique serial number of a file in
a filesystem. I don't think Bash is at fault here for not assuming
otherwise.
--
Oğuz