diff options
author | Bruno Haible <bruno@clisp.org> | 2000-10-12 21:26:25 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2000-10-12 21:26:25 +0000 |
commit | fb04cf55b08a583d8c1edbe5a2d3ece307a1d909 (patch) | |
tree | 71ff828240d1e0ea19aec2694d48df47c9143006 /intl | |
parent | 202aada30d41eda52fb44731fbe071154f2de6cd (diff) | |
download | external_gettext-fb04cf55b08a583d8c1edbe5a2d3ece307a1d909.zip external_gettext-fb04cf55b08a583d8c1edbe5a2d3ece307a1d909.tar.gz external_gettext-fb04cf55b08a583d8c1edbe5a2d3ece307a1d909.tar.bz2 |
Fix memcpy for systems which have only bcopy.
Diffstat (limited to 'intl')
-rw-r--r-- | intl/ChangeLog | 10 | ||||
-rw-r--r-- | intl/bindtextdom.c | 2 | ||||
-rw-r--r-- | intl/finddomain.c | 2 | ||||
-rw-r--r-- | intl/l10nflist.c | 2 | ||||
-rw-r--r-- | intl/localealias.c | 2 | ||||
-rw-r--r-- | intl/textdomain.c | 2 |
6 files changed, 15 insertions, 5 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog index 5848f08..c315aa3 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,13 @@ +2000-10-12 Bruno Haible <haible@clisp.cons.org> + + * localealias.c (memcpy): Return first argument, just like the real + memcpy function does. + * bindtextdom.c (memcpy): Likewise. + * finddomain.c (memcpy): Likewise. + * l10nflist.c (memcpy): Likewise. + * textdomain.c (memcpy): Likewise. + From Paul Eggert <eggert@twinsun.com>. + 2000-09-29 Bruno Haible <haible@clisp.cons.org> * libintl.glibc: Update from current glibc version. diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c index f921177..14e633b 100644 --- a/intl/bindtextdom.c +++ b/intl/bindtextdom.c @@ -34,7 +34,7 @@ void free (); #else # include <strings.h> # ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst)) # endif #endif diff --git a/intl/finddomain.c b/intl/finddomain.c index 2c3ca4d..3f8e84d 100644 --- a/intl/finddomain.c +++ b/intl/finddomain.c @@ -40,7 +40,7 @@ void free (); #else # include <strings.h> # ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst)) # endif #endif diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 5e538a9..2a946e3 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -32,7 +32,7 @@ #else # include <strings.h> # ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst)) # endif #endif #if !HAVE_STRCHR && !defined _LIBC diff --git a/intl/localealias.c b/intl/localealias.c index 0279be5..c103a04 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -63,7 +63,7 @@ void free (); #else # include <strings.h> # ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst)) # endif #endif #if !HAVE_STRCHR && !defined _LIBC diff --git a/intl/textdomain.c b/intl/textdomain.c index da278b9..302554d 100644 --- a/intl/textdomain.c +++ b/intl/textdomain.c @@ -28,7 +28,7 @@ #else # include <strings.h> # ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst)) # endif #endif |