projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e6466c
)
Further getopt changes to make it more acceptable to glibc.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 17 Nov 2004 01:54:16 +0000
(
01:54
+0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 17 Nov 2004 01:54:16 +0000
(
01:54
+0000)
lib/ChangeLog
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index a3ff7802d22caa85c96793b954540bf3a19728c5..fd50ab022f7d19f2b6402d12b4e026e75780ca2c 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,5
+1,14
@@
2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
+ Further getopt changes to make it more likely that glibc will
+ buy the changes back.
+ * getopt.c (POSIXLY_CORRECT): New constant.
+ (getopt): Use it, so to preserve glibc semantic
+ * getopt1.c (getopt_long, getopt_long_only): Arg is char * const *
+ when compiling for libc.
+ * getopt_.h (__getopt_argv_const): Bring it back.
+ (getopt_long, getopt_long_only): Use it.
+
* getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal):
New arg POSIXLY_CORRECT. All callers changed.
(getopt): Argv is now char * const *, as per standard.
* getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal):
New arg POSIXLY_CORRECT. All callers changed.
(getopt): Argv is now char * const *, as per standard.