bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portability of mknod


From: Gavin Smith
Subject: Re: Portability of mknod
Date: Wed, 7 Dec 2016 20:45:51 +0000

On 28 November 2016 at 16:23, Gavin Smith <address@hidden> wrote:
> On 27 November 2016 at 06:40, Daniel E. Macks <address@hidden> wrote:
>> A bunch of info/t tests in texinfo-6.3 were SKIPped on my OS X 10.11
>> box, all as a result of 'mknod' being detected but then failing in
>> Init-inter.inc. I do have /sbin/mknod, but it's not GNUish. In
>> particular, it doesn't support the "p" token to cause creation of a
>> named FIFO pipe. If I install GNU coreutils, I do get a mknod that
>> behaves the way the tests want, and the tests succeed. But darwin does
>> have 'mkfifo', and if I use that instead of mknod, the tests also
>> succeed.
>>
>> It's not as simple as setting an autoconf variable whose value could
>> be "mknod" or "mkfifo", because mkfifo implicitly knows to create
>> named pipes (no token to pass). That is, GNU wants:
>>
>>   mknod FOO p
>>
>> but darwin needs:
>>
>>   mkfifo FOO
>
> I wonder if we should just use "mkfifo" instead

Done.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]