diff options
author | DJ Delorie <dj@delorie.com> | 2003-04-15 15:27:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2003-04-15 15:27:20 +0000 |
commit | 46719944c52283853b82d4fc76b6658b3f8831ca (patch) | |
tree | 349b63b048c43c2500d0419f3bed41fd63d8e152 /libiberty/getopt.c | |
parent | eb604c51db8e4bcbc5cf944b110705a291a61b4f (diff) | |
download | binutils-redhat-46719944c52283853b82d4fc76b6658b3f8831ca.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/getopt.c')
-rw-r--r-- | libiberty/getopt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/getopt.c b/libiberty/getopt.c index 2402a39e2f..a1e482763c 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); } } |