summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/gendef
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-02-29 21:11:57 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-02-29 21:11:57 +0000
commit76ff710cfaa54aa7a85b15d2d2b0303a53afe83d (patch)
tree8444c7c9f61800989d7c913ec682e3b0bbe46cb7 /winsup/cygwin/gendef
parent86a4b0c733dab174b9eb1b556b881f565d7bd819 (diff)
downloadcygnal-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 'winsup/cygwin/gendef')
0 files changed, 0 insertions, 0 deletions