diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-04-15 14:24:26 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-04-15 14:24:26 +0000 |
commit | 55adc7bd57e426ac615874ce723406e11f341388 (patch) | |
tree | 170043e8287dcdc7018cc29388f0ec204afea8d7 /libiberty/getopt.c | |
parent | d2b548397c30e07603fd2902f1c29929da468ce0 (diff) | |
download | gcc-55adc7bd57e426ac615874ce723406e11f341388.tar.gz |
re PR target/10338 ([3.3 regression?] [Cygwin -> tic4x | avr] cross target compilation error)
gcc:
PR target/10338
PR bootstrap/10198
PR bootstrap/10140
* fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
libiberty:
PR target/10338
PR bootstrap/10198
PR bootstrap/10140
* getopt.c (exchange, _getopt_initialize): Use mempcpy not
__mempcpy.
* regex.c (regerror): Likewise.
From-SVN: r65634
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 2402a39e2f8..a1e482763c1 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); } } |