Module Name: src Committed By: uwe Date: Wed Jun 24 16:49:30 UTC 2020
Modified Files: src/usr.bin/m4: main.c Log Message: Try not to lose error output with --error-output. Try to avoid the trap we set up ourselves while avoiding freopen(3). When exit flushes and closes open streams it may close sfp first and when it comes about to flush and close stderr, the descriptor is already gone and we lose any buffered error output. This actually happens on some hosts, breaking --trace output used by autoconf. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/usr.bin/m4/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.