diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-02-29 21:11:57 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-02-29 21:11:57 +0000 |
commit | 76ff710cfaa54aa7a85b15d2d2b0303a53afe83d (patch) | |
tree | 8444c7c9f61800989d7c913ec682e3b0bbe46cb7 /newlib/ChangeLog | |
parent | 86a4b0c733dab174b9eb1b556b881f565d7bd819 (diff) | |
download | cygnal-76ff710cfaa54aa7a85b15d2d2b0303a53afe83d.tar.gz cygnal-76ff710cfaa54aa7a85b15d2d2b0303a53afe83d.tar.bz2 cygnal-76ff710cfaa54aa7a85b15d2d2b0303a53afe83d.zip |
2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
* libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
data area so as to support reentrant calls. Change all callers
to fill in data area with global values and restore any changes
to the global values after call.
(__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
to support reentrancy that add a data area argument.
* libc/include/getopt.h: Add new _r routines and provide macros
so they can be called with using double-underscores.
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r-- | newlib/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 2f9d41e83..a5003ebbd 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,14 @@ +2008-02-29 Gregory Pietsch <gpietsch@comcast.net> + + * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept + data area so as to support reentrant calls. Change all callers + to fill in data area with global values and restore any changes + to the global values after call. + (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines + to support reentrancy that add a data area argument. + * libc/include/getopt.h: Add new _r routines and provide macros + so they can be called with using double-underscores. + 2008-02-21 Eric Blake <ebb9@byu.net> Fix strtod("-0x", NULL). |