about summary refs log tree commit diff
path: root/crypt/crypt_util.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-03 00:59:09 +0000
committerRoland McGrath <roland@gnu.org>2002-11-03 00:59:09 +0000
commit05dab910b0032cab151f3c4507dc04100b1c2ce0 (patch)
treec2e532dc6b4876cd1950eef568f5be6477a57487 /crypt/crypt_util.c
parent379c9e03af51b7b98aec1f9b04f8f22dec5d4711 (diff)
downloadglibc-05dab910b0032cab151f3c4507dc04100b1c2ce0.tar.gz
glibc-05dab910b0032cab151f3c4507dc04100b1c2ce0.tar.xz
glibc-05dab910b0032cab151f3c4507dc04100b1c2ce0.zip
* manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
	description to be clearer and to say that *RESULT is set to ENTRY.

2002-10-30  Jakub Jelinek  <jakub@redhat.com>

	* posix/regexec.c (build_trtable): Alloca or malloc dests_node and
	dests_ch arrays together.  Alloca or malloc dest_states,
	dest_states_word and dest_states_nl arrays together.  Free memory on
	error exit.

2002-10-29  Daniel Jacobowitz  <drow@mvista.com>

	* crypt/crypt_util.c (__init_des_r): Initialize current_salt
	and current_saltbits.

2002-11-02  Roland McGrath  <roland@redhat.com>
Diffstat (limited to 'crypt/crypt_util.c')
-rw-r--r--crypt/crypt_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index ae6174e6f7..5467a97b8a 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -536,6 +536,9 @@ small_tables_done:
     }
   }
 
+  __data->current_saltbits = 0;
+  __data->current_salt[0] = 0;
+  __data->current_salt[1] = 0;
   __data->initialized++;
 }