summaryrefslogtreecommitdiff
path: root/include/getopt.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-05-23 06:42:53 +0000
committerEric Andersen <andersen@codepoet.org>2003-05-23 06:42:53 +0000
commit9389fe19a3ab19e3c15cb3e370f5ae2f8380484a (patch)
tree34522d2e4afe93be56158f255395e7a9317dc096 /include/getopt.h
parenta8938c2781a66b386eb0807f9149b871d03f4c6e (diff)
Cope with autoconf's broken AC_FUNC_MALLOC macro, which redefines malloc as
rpl_malloc if it does not detect glibc style returning-a-valid-pointer-for-malloc(0) behavior. This wrapper calls malloc() as usual, but if N is zero, we allocate and return a 1-byte block instead.... sigh... -Erik
Diffstat (limited to 'include/getopt.h')
0 files changed, 0 insertions, 0 deletions