2000-07-16  Ulrich Drepper  <drepper@redhat.com>

	* crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
	parameters of memset calls to avoid warnings.

	* stdlib/Makefile: Rewrite rules to avoid running isomac unless
	necessary.

	* iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
This commit is contained in:
Ulrich Drepper 2000-07-16 17:44:20 +00:00
parent ca41028b16
commit 7f53da19c1
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,13 @@
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
parameters of memset calls to avoid warnings.
2000-07-15 Ulrich Drepper <drepper@redhat.com>
* stdlib/Makefile: Rewrite rules to avoid running isomac unless
necessary.
* sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
Patch by Greg McGary <greg@mcgary.org>.
@ -10,7 +18,7 @@
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gconv_open (__gconv_open): Initialize whole __gconv_trans_data
* iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
structure.
2000-07-13 Jakub Jelinek <jakub@redhat.com>

View File

@ -226,9 +226,9 @@ __md5_crypt_r (key, salt, buffer, buflen)
memset (&ctx, '\0', sizeof (ctx));
memset (&alt_ctx, '\0', sizeof (alt_ctx));
if (key_copied)
memset (key, '\0', key_len);
memset ((char *) key, '\0', key_len);
if (salt_copied)
memset (salt, '\0', salt_len);
memset ((char *) salt, '\0', salt_len);
return buffer;
}