diff options
author | Roland McGrath <roland@gnu.org> | 2005-05-02 20:15:34 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-05-02 20:15:34 +0000 |
commit | ccaee9ce5d3bb2ef7883a6faa50f76c3343113cc (patch) | |
tree | 4a4387ab6cc213a0ee5ba73e6fb2044425d802ae /crypt | |
parent | * timezone/africa: Update from tzdata2005i. (diff) | |
download | glibc-ccaee9ce5d3bb2ef7883a6faa50f76c3343113cc.tar.gz glibc-ccaee9ce5d3bb2ef7883a6faa50f76c3343113cc.tar.bz2 glibc-ccaee9ce5d3bb2ef7883a6faa50f76c3343113cc.zip |
[BZ #924]cvs/fedora-glibc-20050503T0852
2005-05-02 Roland McGrath <roland@redhat.com>
[BZ #924]
* crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
Diffstat (limited to 'crypt')
-rw-r--r-- | crypt/md5.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypt/md5.c b/crypt/md5.c index 04bce5ab37..922e7cc7e9 100644 --- a/crypt/md5.c +++ b/crypt/md5.c @@ -1,6 +1,7 @@ /* Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. - Copyright (C) 1995,1996,1997,1999,2000,2001 Free Software Foundation, Inc. + Copyright (C) 1995,1996,1997,1999,2000,2001,2005 + 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 @@ -31,7 +32,7 @@ # include <string.h> #else # ifndef HAVE_MEMCPY -# define memcpy(d, s, n) bcopy ((s), (d), (n)) +# define memcpy(d, s, n) (bcopy ((s), (d), (n)), (d)) # endif #endif |