summaryrefslogtreecommitdiff
path: root/getopt.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-30 17:53:23 -0400
committerArnold D. Robbins <arnold@skeeve.com>2016-05-30 17:53:23 -0400
commit5e0f3ebb5f985a9ad8fa3d57ab8c1f0669056630 (patch)
tree069f6948e1d810d249919784a900a927cb25b6a9 /getopt.c
parentce211fb7fcf1463619d2b2ef32b8f6c2f4f35459 (diff)
downloadgawk-5e0f3ebb5f985a9ad8fa3d57ab8c1f0669056630.tar.gz
Update getopt from GLIBC.
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/getopt.c b/getopt.c
index 4de0b9a0..8bc59610 100644
--- a/getopt.c
+++ b/getopt.c
@@ -2,7 +2,7 @@
NOTE: getopt is part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
- Copyright (C) 1987-2015 Free Software Foundation, Inc.
+ Copyright (C) 1987-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -597,7 +597,7 @@ _getopt_internal_r (int argc, char *const *argv, const char *optstring,
char *buf = NULL;
size_t buflen = 0;
- FILE *fp = open_memstream (&buf, &buflen);
+ FILE *fp = __open_memstream (&buf, &buflen);
if (fp != NULL)
{
fprintf (fp,