about summary refs log tree commit diff
path: root/stdlib/tst-fmtmsg.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-01-14 09:06:25 +0000
committerUlrich Drepper <drepper@redhat.com>2005-01-14 09:06:25 +0000
commitea161661142ab98568ea811ce791da538da981d1 (patch)
tree79da250397aa476ac4eec1bbe2108b01e039014e /stdlib/tst-fmtmsg.c
parent3e539cb47e9fabfdda295926b4270b0f3cc7fa65 (diff)
downloadglibc-ea161661142ab98568ea811ce791da538da981d1.tar.gz
glibc-ea161661142ab98568ea811ce791da538da981d1.tar.xz
glibc-ea161661142ab98568ea811ce791da538da981d1.zip
Update.
2005-01-14  Ulrich Drepper  <drepper@redhat.com>

	* posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
	LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.

	* stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
	* stdlib/tst-fmtmsg.c (main): Add another addseverity test.
Diffstat (limited to 'stdlib/tst-fmtmsg.c')
-rw-r--r--stdlib/tst-fmtmsg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib/tst-fmtmsg.c b/stdlib/tst-fmtmsg.c
index d5369bda62..0b244e2bc0 100644
--- a/stdlib/tst-fmtmsg.c
+++ b/stdlib/tst-fmtmsg.c
@@ -48,5 +48,11 @@ main (void)
       != MM_OK)
     result = 1;
 
+  if (addseverity (MM_TEST, NULL) != MM_OK)
+    {
+      puts ("second addseverity failed");
+      result = 1;
+    }
+
   return result;
 }