This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: getopt() argument permuting considered risky


> Maybe.  My point is that glibc's getopt() behaviour introduces a 
> behaviour not present on other Unix systems.

Those are called "improvements".  We added them because we like them.

> I don't have any broken scripts.  The whole point of this note was 
> to raise what looks like a security risk when porting scripts and 
> programs.  

Put POSIXLY_CORRECT in your environment if you want to run portable scripts.
Then the system conforms to POSIX.  That's what the standard is for.
 


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