]> sourceware.org Git - newlib-cygwin.git/commit
2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
authorJeff Johnston <jjohnstn@redhat.com>
Fri, 29 Feb 2008 21:11:57 +0000 (21:11 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Fri, 29 Feb 2008 21:11:57 +0000 (21:11 +0000)
commit76ff710cfaa54aa7a85b15d2d2b0303a53afe83d
tree8444c7c9f61800989d7c913ec682e3b0bbe46cb7
parent86a4b0c733dab174b9eb1b556b881f565d7bd819
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.
newlib/ChangeLog
newlib/libc/include/getopt.h
newlib/libc/stdlib/getopt.c
This page took 0.026138 seconds and 5 git commands to generate.