summaryrefslogtreecommitdiff
path: root/getopt1.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
commit6719bb6e1c5576e857ab6fc121ec31a75161a3e7 (patch)
tree97cba951750ceb73899e48490dbb33674e5b29e1 /getopt1.c
parent558ba97bdeac5a68bb9248a5c4cdf2feeb24e771 (diff)
downloadgawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.tar.gz
Move to gawk-3.0.2.gawk-3.0.2
Diffstat (limited to 'getopt1.c')
-rw-r--r--getopt1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/getopt1.c b/getopt1.c
index 6fea28c1..628bfd63 100644
--- a/getopt1.c
+++ b/getopt1.c
@@ -47,7 +47,10 @@
program understand `configure --with-gnu-libc' and omit the object files,
it is simpler to just do this in the source for each such file. */
+/* Unfortunately, for gawk, this version is New And Improved, and must
+ be used. This will be fixed for GNU LIBC 2
#if defined (_LIBC) || !defined (__GNU_LIBRARY__)
+*/
/* This needs to come after some library #include
@@ -90,6 +93,7 @@ getopt_long_only (argc, argv, options, long_options, opt_index)
}
+/* no close on purpose (gawk)
#endif /* _LIBC or not __GNU_LIBRARY__. */
#ifdef TEST