about summary refs log tree commit diff
path: root/locale/programs/ld-collate.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-24 08:27:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-24 08:27:33 +0000
commitce40141c6b68a40687f460450e1d07a0a78e1559 (patch)
tree628edaa451b15d76951e10cf9d8e082a26a3806a /locale/programs/ld-collate.c
parent293321753c08b5db20b866f2ae2dbd716f717434 (diff)
downloadglibc-ce40141c6b68a40687f460450e1d07a0a78e1559.tar.gz
glibc-ce40141c6b68a40687f460450e1d07a0a78e1559.tar.xz
glibc-ce40141c6b68a40687f460450e1d07a0a78e1559.zip
Update.
1999-12-24  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/system.c (__libc_system): Check whether command
	processor is available if LINE is NULL.  Don't return immediately
	if wait call returned with EINTR.
	Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
Diffstat (limited to 'locale/programs/ld-collate.c')
-rw-r--r--locale/programs/ld-collate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index a0f1139cde..65229275ff 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1583,7 +1583,7 @@ output_weight (struct obstack *pool, struct locale_collate_t *collate,
 	if (elem->weights[cnt].w[i] == NULL)
 	  {
 	    /* This entry was IGNORE.  */
-	    buf[len++] = '\3';
+	    buf[len++] = IGNORE_CHAR;
 	  }
 	else
 	  len += utf8_encode (&buf[len],
@@ -1839,6 +1839,9 @@ collate_output (struct localedef_t *locale, struct charmap_t *charmap,
   assert (cnt == _NL_ITEM_INDEX (_NL_NUM_LC_COLLATE));
 
   write_locale_data (output_path, "LC_COLLATE", 2 + cnt, iov);
+
+  obstack_free (&weightpool, NULL);
+  obstack_free (&extrapool, NULL);
 }