Jim Meyering <jim <at> meyering.net> writes: > > Hi Bruno, > > I like the idea, but I've never worried about this case on the principle > that if a program is already writing to stderr, it's usually because > it's going to exit nonzero anyway.
M4 is an example of an exception - it can write to stderr with 0 exit status due to the 'errprint' and 'dumpdef' macros. I already have on my TODO list to make CVS M4 use the closeout module (right now, it can't until I get m4 quit using tmpfile), and this would be an appropriate behavior to have. > > I hope you don't mind waiting a few days for feedback. I'm concentrating > on making a stable coreutils-6.3 release. I'm not in any hurry from m4's side of things, so waiting a couple days for coreutils-6.3 to be final before making this change would suit me, too. -- Eric Blake