Re: [GNU Autoconf 2.72e] testsuite: 11 119 261 failed on Solaris 11.4 x86

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2023-12-21 19:56, Nick Bowler wrote:
> On 2023-12-21 19:34, Paul Eggert wrote:
>>    ulimit -f 0
>>    trap "" XFSZ
>>    printf "test" >test || echo failed with status $?
>>
>> which issues the following diagnostics on Solaris 10 /bin/sh:
>>
>>    printf: write error: File too large
>>    failed with status 1
> I think you might want to double check your test setup.

Oh, you're right. I put /opt/sfw/bin early in my PATH. 
/opt/sfw/bin/printf is part of Solaris (it's in the SFWcoreu package) 
but it is optional and obviously not everybody puts it early.

With PATH='/usr/bin' I get the broken (non-POSIX) behavior.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.