On Fri, May 13, 2022 at 09:29:45PM +0200, Jakub Wilk wrote: > * Rich Felker <dalias@xxxxxxxx>, 2022-05-13, 13:29: > >tmpfile.3 contains the following text: > > > >NOTES > > POSIX.1-2001 specifies: an error message may be written to stdout if > > the stream cannot be opened. > > > >I can find no such text in POSIX.1-2001 (looking at https://pubs.opengroup.org/onlinepubs/007904975/functions/tmpfile.html) > >and such an allowance would contradict ISO C which makes no such > >allowance for it to write to stdout. I'm not sure where this came > >from but it should probably be removed, or changed to indicate > >whichever historical implementation wrongly did this if there was > >one. > > I suppose it's a typo: it should say "stderr", not "stdout". Indeed. I missed it searching because it doesn't say "stderr" but spells it out. This text also clashes with ISO C and should be removed from POSIX; I'll file an issue about that separately. Rich