[PATCH]setup.exe passwd-grp.bat being created when not needed

Robert Collins robert.collins@itdomain.com.au
Tue Feb 19 14:54:00 GMT 2002

On Tue, 2002-02-19 at 09:59, Michael A Chase wrote:
> Currently /etc/postinstall/passwd-grp.bat is opened before the need for it
> is determined.  This results in the file always being executed even though
> it is normally empty.   This patch may eliminate the flashing console window
> at the end of setup.exe when no action is expected.
> I left the iostream::mkpath_p() call at the top of the function to make sure
> /etc/postinstall/ always exists after make_passwd_group() is called.  This
> appears to be the only place the directory is created explicitly.
> Sorry for the separate patches.  The two issues are independent and I didn't
> notice this until I'd already sent the previous patch.  The patches may be
> combined if you wish.

Actually, I prefer separate patchs - it's easier to pick n choose.

Both applied.


More information about the Cygwin-patches mailing list