This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated [experimental]: bash-3.1-7


> > That is being set by cygcheck, just before invoking external programs.  It 
> > probably had something to do with forcing external programs to not rearrange 
> > option arguments (for example, "ls foo --all" treats --all as an option, 
> > but "POSIXLY_CORRECT=1 ls foo --all" treats --all as a filename).  But I think 
> > it is possible to get along without doing it (repeating the example, "ls -- 
> > foo --all" treats --all as a filename), and I personally think that cygcheck 
> > should be patched to QUIT setting POSIXLY_CORRECT, so that we can tell the 
> > masochists apart from normal users.
> 
> Ah, ok, so seeing it in cygcheck is a false positive. Didn't think that 
> cygcheck would tinker with my environment (maybe it should know it is 
> doing so and preserve the invocation value and print that?), so I didn't 
> think to actually 'echo $POSIXLY_CORRECT'. :-)
> 

2006-09-11  Eric Blake  <ebb9@byu.net>

	* cygcheck.cc (main): Restore POSIXLY_CORRECT before displaying
	user's environment.



Attachment: cygwin.patch3
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]