about summary refs log tree commit diff
path: root/manual/time.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-29 21:08:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-29 21:08:13 +0000
commiteabea97226515d709064e07485caeb41d413ca44 (patch)
tree4450ce95970fb59807e4ad818bdfdeaf01422d99 /manual/time.texi
parenta32c7fb447ed82297343b2d7d6da84b57d3ebca1 (diff)
downloadglibc-eabea97226515d709064e07485caeb41d413ca44.tar.gz
glibc-eabea97226515d709064e07485caeb41d413ca44.tar.xz
glibc-eabea97226515d709064e07485caeb41d413ca44.zip
Update.
2002-06-29  Ulrich Drepper  <drepper@redhat.com>

	* catgets/gencat.c (read_input_file): Handle more than one slash
	at end of line correctly [PR libc/3926].
	Based on a patch by Steven Kim <steven.kim@peregrine.com>.

	* catgets/sample.SJIS: Add test case for above bug.
	* catgets/test-gencat.c: Adjust test code.
	* catgets/test-gencat.sh: Adjust expected results.

	* elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
	to skip relative relocations.
	Patch by Geoff Keating <geoffk@redhat.com>.
Diffstat (limited to 'manual/time.texi')
-rw-r--r--manual/time.texi8
1 files changed, 6 insertions, 2 deletions
diff --git a/manual/time.texi b/manual/time.texi
index e16a7294a2..9744982a04 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -1268,7 +1268,9 @@ This format was first standardized by POSIX.2-1992 and by @w{ISO C99}.
 @item %p
 Either @samp{AM} or @samp{PM}, according to the given time value; or the
 corresponding strings for the current locale.  Noon is treated as
-@samp{PM} and midnight as @samp{AM}.
+@samp{PM} and midnight as @samp{AM}.  In most locales
+@samp{AM}/@samp{PM} format is not supported, in such cases @code{"%p"}
+yields an empty string.
 
 @ignore
 We currently have a problem with makeinfo.  Write @samp{AM} and @samp{am}
@@ -1277,7 +1279,9 @@ both results in `am'.  I.e., the difference in case is not visible anymore.
 @item %P
 Either @samp{am} or @samp{pm}, according to the given time value; or the
 corresponding strings for the current locale, printed in lowercase
-characters.  Noon is treated as @samp{pm} and midnight as @samp{am}.
+characters.  Noon is treated as @samp{pm} and midnight as @samp{am}.  In
+most locales @samp{AM}/@samp{PM} format is not supported, in such cases
+@code{"%P"} yields an empty string.
 
 This format is a GNU extension.