[PATCH] Clean up 'setup --help' output a bit

Jon TURNEY jon.turney@dronecode.org.uk
Fri Feb 24 19:26:00 GMT 2012


On 23/02/2012 18:55, Christopher Faylor wrote:
> On Thu, Feb 23, 2012 at 04:27:01PM +0000, Jon TURNEY wrote:
>> Avoid lines like the following preceding the useful output from 'setup --help':
>>
>> io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or directory
>> io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or directory
>> Current Directory: \\Necker\download\cygwin
>>
>> 2012-02-23  Jon TURNEY  <jon.turney-GrJqePx9RPPAJUdA+FbntA@public.gmane.org>
>>
>> 	* main.cc (main_display): Move --help output from here ...
>> 	(WinMain): ... to here, so we don't logging of the current directory and
>> 	any errors from constructing a UserSettings object preceding the --help output.
> 
> THANK YOU!  I've been meaning to do this for a long time.  I appreciate your
> doing this.
> 
> Please check in.

Done.

There still the mysterious 'leet messages from NTSecurity::GetPosixPerms() at
the end of 'setup --help' output, though.

AddAccessAllowedAce(, owner) failed: 1337
AddAccessAllowedAce(, group) failed: 1337
AddAccessAllowedAce(, everyone) failed: 1337
AddAccessAllowedAce(, owner) failed: 1337
AddAccessAllowedAce(, group) failed: 1337
AddAccessAllowedAce(, everyone) failed: 1337



More information about the Cygwin-apps mailing list