[PATCH] Logging output of post-install scripts in setup

Robert Collins rbcollins@cygwin.com
Thu Oct 17 07:06:00 GMT 2002


On Fri, 2002-10-18 at 00:02, Igor Pechtchanski wrote:
> I changed the subject line to something more appropriate and resent to the
> (hopefully) correct list.
> 	Igor


Ok, some feedback.

Firstly, does this all work happily on win95? With both .bat and .sh
scripts?

Secondly, please don't pass around char * parameters with new functions.
You should pass around the String until you have to pass it to an OS
call.

Thirdly, could you break up the code a little more? The log file
initialisation logic should live in a separate member function, with
something like'

if (l.size())
  prepareForLogging(&LOGHANDLE,...);

Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20021017/0e101756/attachment.sig>


More information about the Cygwin-apps mailing list