summaryrefslogtreecommitdiff
path: root/manual/locale.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-31 11:42:52 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-31 11:42:52 +0000
commit655b26bb758d9acb15e4870c1c541bb25c36cdd1 (patch)
tree85cafcebf42594d68234063c314b4023778c2027 /manual/locale.texi
parent646fffb9818a445a13e517561b61cfb8ee1d1664 (diff)
downloadglibc-655b26bb758d9acb15e4870c1c541bb25c36cdd1.tar.gz
Update.
1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/locale.texi (Formatting Numbers): Fix strfmon examples. 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain 0, __fd_mask is usually not a char. 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow compilation on systems without rt_* syscalls (e.g. on Linux 2.0). * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow compiling on systems without rt_sigaction syscall. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Likewise. 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * time/strptime.c (HERE_D_FMT): Fix typo. Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842. * catgets/test1.msg: New file.
Diffstat (limited to 'manual/locale.texi')
-rw-r--r--manual/locale.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/locale.texi b/manual/locale.texi
index 6208710121..b4b7f4b24f 100644
--- a/manual/locale.texi
+++ b/manual/locale.texi
@@ -1052,7 +1052,7 @@ strfmon (buf, 100, "@@%n@@%n@@%n@@", 123.45, -567.89, 12345.678);
@noindent
The output produced is
@smallexample
-"@@$123.45@@-$123.45@@$12,345.68@@"
+"@@$123.45@@-$567.89@@$12,345.68@@"
@end smallexample
We can notice several things here. First, the width for all formats is
@@ -1073,7 +1073,7 @@ strfmon (buf, 100, "@@%=*11n@@%=*11n@@%=*11n@@", 123.45, -567.89, 12345.678);
The output this time is:
@smallexample
-"@@ $123.45@@ -$123.45@@ $12,345.68@@"
+"@@ $123.45@@ -$567.89@@ $12,345.68@@"
@end smallexample
Two things stand out. First, all fields have the same width (eleven
@@ -1119,7 +1119,7 @@ This rather complex format string produces the following output:
The most noticeable change is the use of the alternative style to
represent negative numbers. In financial circles it is often done using
-braces and this is what the @samp{(} flag selected. The fill character
+parentheses and this is what the @samp{(} flag selected. The fill character
is now @samp{0}. Please note that this @samp{0} character is not
regarded as a numeric zero and therefore the first and second number are
not printed using a thousands separator. Since we use in the format the