Skip to content

Commit

Permalink
[BZ #924]
Browse files Browse the repository at this point in the history
2005-05-02  Roland McGrath  <roland@redhat.com>
	[BZ #924]
	* crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
  • Loading branch information
Roland McGrath committed May 2, 2005
1 parent 1829dc4 commit ccaee9c
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2005-05-02 Roland McGrath <roland@redhat.com>

[BZ #924]
* crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.

2005-04-29 Roland McGrath <roland@redhat.com>

* timezone/africa: Update from tzdata2005i.
5 changes: 3 additions & 2 deletions crypt/md5.c
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ccaee9c

Please sign in to comment.