This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: Tried to make getopt() and friends more sus4-like in error handling


On 10/4/2012 4:11 AM, Peter Rosin wrote:
On 2012-08-27 16:33, Eric Blake wrote:
'\?' is invalid C code.
Is it really? It's a preprocessor thing I think. Perhaps not
very useful if you don't enable trigraphs, but still valid. No?
The 1989 ANSI C Standard, Section 6.1.3.4, and the 1999 ANSI C Standard, Section 6.4.4.4, both list \? as a valid escape character. I don't have the 2011 ANSI C Standard on hand, but I don't think anything has changed with regard to escape sequences.
But instead of arguing that, why don't you go build a new
Cygwin bash with --wordexp support instead? You said somewhere
that you needed an excuse to do that even before the wordexp
bug report ;-)

Cheers,
Peter



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