Hi list !
It seems that I can't get Gmail to not splitting lines when it feels
an urge to do so.
Here is the unmangled version of the said diff:
The REPLACE_GETOPT symbol seems to have been introduced for smoothing
the transition from an old implementation of getopt(3) and the current
one. It is now defined unconditionnaly in the source file and the old
implementation has been removed 6 years ago.
Index: getopt_long.c
===================================================================
RCS file: /cvs/src/lib/libc/stdlib/getopt_long.c,v
retrieving revision 1.23
diff -u getopt_long.c
--- getopt_long.c 31 Oct 2007 12:34:57 -0000 1.23
+++ getopt_long.c 21 Apr 2010 16:02:26 -0000
@@ -55,15 +55,11 @@
#include <stdlib.h>
#include <string.h>
-#define REPLACE_GETOPT /* use this getopt as the
system getopt(3) */
-
-#ifdef REPLACE_GETOPT
int opterr = 1; /* if error message should be printed */
int optind = 1; /* index into parent argv vector */
int optopt = '?'; /* character checked for validity */
int optreset; /* reset getopt */
char *optarg; /* argument associated with option */
-#endif
#define PRINT_ERROR ((opterr) && (*options != ':'))
@@ -467,7 +463,6 @@
return (optchar);
}
-#ifdef REPLACE_GETOPT
/*
* getopt --
* Parse argc/argv argument vector.
@@ -488,7 +483,6 @@
*/
return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
}
-#endif /* REPLACE_GETOPT */
/*
* getopt_long --