Per Jessen wrote: > David Boyce wrote: > >> Seems to me this whole thread is missing an intermediate test. All >> the discussion so far has been on terminal output vs cron. But if the >> issue is buffering we should expect to see the same problem when >> dumping output into a file without cron (eg "make > make.log 2>&1"), >> no? So why not try that? > > Just tried it now, and I saw no garbled or truncated output in the > file. >
Well, FWIW I've found a work-around. Maybe it'll give someone a clue as to how to properly solve the problem. I wrote a crude wrapper for isatty() which I load up with LD_PRELOAD. It returns TRUE for stdout and stderr, otherwise it just calls the original isatty(). And that works - output is jumbled, but not garbled nor truncated. /Per Jessen, Zürich _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
