From 655b26bb758d9acb15e4870c1c541bb25c36cdd1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 31 Oct 1998 11:42:52 +0000 Subject: Update. 1998-10-29 Andreas Schwab * manual/locale.texi (Formatting Numbers): Fix strfmon examples. 1998-10-28 Andreas Schwab * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain 0, __fd_mask is usually not a char. 1998-10-30 Andreas Jaeger * 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 * time/strptime.c (HERE_D_FMT): Fix typo. Reported by Claus Heine , PR libc/842. * catgets/test1.msg: New file. --- manual/locale.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manual/locale.texi') 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 -- cgit v1.2.3