Subject: Re: bug#70411: [bug] install(1) fails to read /dev/stdin on Darwin

From: Paul Eggert <[email-masked]>
Date: Thu, 18 Apr 2024 15:51:57 -0700

On 4/18/24 14:52, Sergei Trofimovich wrote:

> https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/fstat.2.html
> as
> 
>    BUGS
>       Applying fstat to a socket (and thus to a pipe) returns a zero'd buffer,
>       except for the blocksize field, and a unique device and inode number.

How is a macOS program supposed to tell whether a file has been changed 
between stat and open? Is it impossible?