about summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-24 20:51:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-24 20:51:53 +0000
commite9fc7bbb8949a781cc0d65c8a54c3b6b3b49030e (patch)
tree2ba0896feb47418c5a21ed339b662ad13f568904 /elf/dl-close.c
parent3dd90163bb9ecb7d8b6c7a2f7d6bc746571a7ea9 (diff)
downloadglibc-e9fc7bbb8949a781cc0d65c8a54c3b6b3b49030e.tar.gz
glibc-e9fc7bbb8949a781cc0d65c8a54c3b6b3b49030e.tar.xz
glibc-e9fc7bbb8949a781cc0d65c8a54c3b6b3b49030e.zip
Update.
1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp.c (w_newword): New function.
	(do_parse_glob): New function.
	(parse_glob): Use do_parse_glob.  Now handles the case where a
	variable expansion causes a field-split.
	(wordexp): Use w_newword.
	(parse_arith): Likewise.
	(exec_comm): Likewise.
	(parse_comm): Likewise.
	(parse_param): Likewise.
	(parse_backtick): Likewise.

1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp-tst.sh: Another test.

	* posix/wordexp-test.c: Two new tests.

	* posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
	directly (the code using realloc was buggy).
	(parse_param): Fix typo in comment.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 566e345165..337a4e66ad 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -95,7 +95,7 @@ _dl_close (struct link_map *map)
 	      do
 		--tail;
 	      while (*tail != imap);
-	      while (tail <= _dl_global_scope_end)
+	      while (tail < _dl_global_scope_end)
 		{
 		  tail[0] = tail[1];
 		  ++tail;