aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getopt.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-15 15:27:20 +0000
committerDJ Delorie <dj@redhat.com>2003-04-15 15:27:20 +0000
commit258a4893ffa392438c6fb0eec5c6d42f704dfc28 (patch)
treea700fc415293e1777b7f91d936e137fbc7273906 /libiberty/getopt.c
parent37adfc7e9fc6982772fc6e6093aad43d0020ad30 (diff)
downloadgdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.zip
gdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.tar.gz
gdb-258a4893ffa392438c6fb0eec5c6d42f704dfc28.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/getopt.c')
-rw-r--r--libiberty/getopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/getopt.c b/libiberty/getopt.c
index 2402a39..a1e4827 100644
--- a/libiberty/getopt.c
+++ b/libiberty/getopt.c
@@ -333,8 +333,8 @@ exchange (argv)
nonoption_flags_len = nonoption_flags_max_len = 0;
else
{
- memset (__mempcpy (new_str, __getopt_nonoption_flags,
- nonoption_flags_max_len),
+ memset (mempcpy (new_str, __getopt_nonoption_flags,
+ nonoption_flags_max_len),
'\0', top + 1 - nonoption_flags_max_len);
nonoption_flags_max_len = top + 1;
__getopt_nonoption_flags = new_str;
@@ -444,7 +444,7 @@ _getopt_initialize (argc, argv, optstring)
if (__getopt_nonoption_flags == NULL)
nonoption_flags_max_len = -1;
else
- memset (__mempcpy (__getopt_nonoption_flags, orig_str, len),
+ memset (mempcpy (__getopt_nonoption_flags, orig_str, len),
'\0', nonoption_flags_max_len - len);
}
}