add comment about an ugly hack

This commit is contained in:
albert 2005-01-06 00:17:59 +00:00
parent 95cc4c37bb
commit 39b6574fb3

View File

@ -226,6 +226,11 @@ static const char *parse_sysv_option(void){
// This list of options is ONLY for those defined by the // This list of options is ONLY for those defined by the
// "IEEE Std 1003.1, 2004 Edition", "ISO/IEC 9945:2003", // "IEEE Std 1003.1, 2004 Edition", "ISO/IEC 9945:2003",
// or "Version 2 of the Single Unix Specification". // or "Version 2 of the Single Unix Specification".
//
// It may be time to re-think the existance of this list.
// In the meantime, please do not add to it. The list is
// intended to ONLY contain flags defined by the POSIX and UNIX
// standards published by The Open Group, IEEE, and ISO.
if(!strchr("aAdefgGlnoptuU", *flagptr)) not_pure_unix = 1; if(!strchr("aAdefgGlnoptuU", *flagptr)) not_pure_unix = 1;
switch(*flagptr){ switch(*flagptr){