[PATCH] Setup postinstall logging - take X+1 (regen against HEAD)

Max Bowsher maxb@ukf.net
Thu Mar 20 10:05:00 GMT 2003


Igor Pechtchanski wrote:
> Same as above, but regenerated against cvs HEAD.
> Thanks,
> Igor
>
============================================================================
==
> ChangeLog:
> 2003-03-18  Igor Pechtchanski <pechtcha@cs.nyu.edu>
>
> * script.cc (run): Add file_out parameter.
> Redirect output of subprocess to file, creating the
> path if necessary.  Minimize the script window.
> (run_script): Add optional to_log boolean parameter.
> If to_log, redirect output to temporary file and then
> import it into LOG_BABBLE.
> (OutputLog): New helper class.
> (operator<<): New operation on OutputLog.
> * script.h (run_script): Add optional to_log parameter.
> * postinstall.cc (RunFindVisitor::visitFile): Instruct
> run_script() to log script output.
> (do_postinstall): Ditto.

Applied.


Max.



More information about the Cygwin-apps mailing list