about summary refs log tree commit diff
path: root/locale/programs/ld-numeric.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-21 06:51:06 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-21 06:51:06 +0000
commita2236316645f0e4c3c9b286a7f908da786b9726f (patch)
tree3e6f677872dc7e0301867333c0f0be193ff82146 /locale/programs/ld-numeric.c
parent1ceb8afe3d8c3c9b1ca7a6f0d13ee762667f397d (diff)
downloadglibc-a2236316645f0e4c3c9b286a7f908da786b9726f.tar.gz
glibc-a2236316645f0e4c3c9b286a7f908da786b9726f.tar.xz
glibc-a2236316645f0e4c3c9b286a7f908da786b9726f.zip
Update.
	* locale/programs/ld-monetary.c (monetary_finish): Don't print
	individual error message if nothing is defined.
Diffstat (limited to 'locale/programs/ld-numeric.c')
-rw-r--r--locale/programs/ld-numeric.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c
index 3bf198aba5..22943f30ee 100644
--- a/locale/programs/ld-numeric.c
+++ b/locale/programs/ld-numeric.c
@@ -116,8 +116,9 @@ numeric_finish (struct localedef_t *locale, struct charmap_t *charmap)
      != "".  */
   if (numeric->decimal_point == NULL)
     {
-      error (0, 0, _("%s: field `%s' not defined"),
-	     "LC_NUMERIC", "decimal_point");
+      if (! be_quiet && ! nothing)
+	error (0, 0, _("%s: field `%s' not defined"),
+	       "LC_NUMERIC", "decimal_point");
       numeric->decimal_point = ".";
     }
   else if (numeric->decimal_point[0] == '\0' && ! be_quiet && ! nothing)