getopt_long behavior

Christopher Faylor cgf@redhat.com
Thu Jan 30 04:41:00 GMT 2003


On Wed, Jan 29, 2003 at 10:45:06PM -0000, Max Bowsher wrote:
>would you accept a patch making getopt respond to a
>"POSIXLY_INCORRECT_GETOPT" envvar?

I'll make the change but it won't have the effect you think it will.
I guarantee it. I will even make a snapshot and then you can watch
in horror and amazement as setting the environment variable has no
effect.
And for an answer to the riddle of why this won't immediately do what
you want, try this in the winsup/cygwin directory:
 grep -i getopt cygwin.din
(Remember not to put the -i at the end!)
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /