On Fri, 19 Apr 2024 00:33:52 -0700
Paul Eggert wrote:
> On 2024-04-18 14:52, Sergei Trofimovich wrote:
> > $ clang simple.c -o simple && echo 42 | ./simple
> > 1: ino=3009428657538693161
> > 2: ino=3009428657538693161
> > 3: ino=1568241705
> >
> > Note how stat() and fstat() don't agree on
On 2024-04-18 14:52, Sergei Trofimovich wrote:
$ clang simple.c -o simple && echo 42 | ./simple
1: ino=3009428657538693161
2: ino=3009428657538693161
3: ino=1568241705
Note how stat() and fstat() don't agree on inode.
Apparently it's documented in
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
Hi Sergei,
On Thu, Apr 18, 2024 at 10:52:32PM +0100, Sergei Trofimovich wrote:
> > The system I have locally is this one:
> >
> > $ uname -a
> > Darwin tests-iMac.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22
> > 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64
>
On Tue, 16 Apr 2024 22:37:58 +0100
Sergei Trofimovich wrote:
> On Tue, 16 Apr 2024 12:33:44 +0100
> Pádraig Brady wrote:
>
> > On 16/04/2024 01:19, Alejandro Colomar wrote:
> > > Hi!
> > >
> > > I don't own a Darwin system, so I can't help much reproduce. However,
> > > I've received a bug
On Tue, 16 Apr 2024 12:33:44 +0100
Pádraig Brady wrote:
> On 16/04/2024 01:19, Alejandro Colomar wrote:
> > Hi!
> >
> > I don't own a Darwin system, so I can't help much reproduce. However,
> > I've received a bug report to the Linux man-pages, that our build
> > system (GNUmakefile-based),
On 4/16/24 12:44, Pádraig Brady wrote:
A related suggestion was from Marc Chantreux (CC'd)
to support '-' to imply stdin, which would be more portable.
There is some merit to that suggestion too.
I see that merit too, as when 'install' reads from stdin it needn't do
the inode check. However,
Hi,
On Tue, Apr 16, 2024 at 08:44:06PM +0100, Pádraig Brady wrote:
> I agree if it's older Darwin only, we can ignore.
> The version I tested on is 3 years old now though,
> so I'm not sure whether the issue is on newer or older.
>
> Note we had similar issue on Solaris,
> where we used an
On 4/16/24 07:47, Alejandro Colomar wrote:
Since you couldn't reprodude it in a recent Darwin, maybe it's
just a bug in an old Darwin.
It'd have to be pretty old. As near as I can see from
xnu/bsd/kern/sys_pipe.c, the st_ino field was zero (i.e., not random)
even in xnu-792 dated 2005.
I'd
On 16/04/2024 15:47, Alejandro Colomar wrote:
Hi Pádraig,
On Tue, Apr 16, 2024 at 03:25:22PM +0100, Pádraig Brady wrote:
What version of darwin is this? I can't repro on Darwin 21.6.0 (MacOSX 12.6).
The issue seems to be that /dev/stdin returns a varying inode which install(1)
doesn't like
Hi Pádraig,
On Tue, Apr 16, 2024 at 03:25:22PM +0100, Pádraig Brady wrote:
> > What version of darwin is this? I can't repro on Darwin 21.6.0 (MacOSX
> > 12.6).
> > The issue seems to be that /dev/stdin returns a varying inode which
> > install(1) doesn't like currently
I don't know. The
On 16/04/2024 12:33, Pádraig Brady wrote:
On 16/04/2024 01:19, Alejandro Colomar wrote:
Hi!
I don't own a Darwin system, so I can't help much reproduce. However,
I've received a bug report to the Linux man-pages, that our build
system (GNUmakefile-based), which ends up calling
... |
On 16/04/2024 01:19, Alejandro Colomar wrote:
Hi!
I don't own a Darwin system, so I can't help much reproduce. However,
I've received a bug report to the Linux man-pages, that our build
system (GNUmakefile-based), which ends up calling
... | install /dev/stdin $@
doesn't work on
Hi!
I don't own a Darwin system, so I can't help much reproduce. However,
I've received a bug report to the Linux man-pages, that our build
system (GNUmakefile-based), which ends up calling
... | install /dev/stdin $@
doesn't work on Darwin. Here's the original bug report:
14 matches
Mail list logo