summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-17 12:23:25 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-17 13:22:27 +0100
commit6bc8a7a7c24425dd2759864e6072db133a7c72ce (patch)
tree1221dc065ade2ac7c154fbcfc6c948d7a950371d
parent79bd8a7a4392a104d4551da22055e11cbf7ee774 (diff)
tzfile.5: Avoid crashing man2html(1)
Link: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067022> Cc: Paul Eggert <eggert@cs.ucla.edu> Cc: "G. Branden Robinson" <branden@debian.org> Cc: Robert Luberda <robert@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man5/tzfile.528
1 files changed, 14 insertions, 14 deletions
diff --git a/man5/tzfile.5 b/man5/tzfile.5
index 867348d67..be5f694d3 100644
--- a/man5/tzfile.5
+++ b/man5/tzfile.5
@@ -26,8 +26,8 @@ a signed binary integer is represented using two's complement,
and a boolean is represented by a one-byte binary integer that is
either 0 (false) or 1 (true).
The format begins with a 44-byte header containing the following fields:
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS 2
+.IP \(bu 3
The magic four-byte ASCII sequence
.q "TZif"
identifies the file as a timezone information file.
@@ -42,8 +42,8 @@ or
Fifteen bytes containing zeros reserved for future use.
.IP \(bu
Six four-byte integer values, in the following order:
-.RS "\w' \(bu 'u"
-.TP "\w' 'u"
+.RS
+.TP 2
.B tzh_ttisutcnt
The number of UT/local indicators stored in the file.
(UT is Universal Time.)
@@ -69,8 +69,8 @@ stored in the file.
.PP
The above header is followed by the following fields, whose lengths
depend on the contents of the header:
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS 2
+.IP \(bu 3
.B tzh_timecnt
four-byte signed integer values sorted in ascending order.
These values are written in network byte order.
@@ -134,8 +134,8 @@ Also, in realistic applications
is in the range [\-89999, 93599] (i.e., more than \-25 hours and less
than 26 hours); this allows easy support by implementations that
already support the POSIX-required range [\-24:59:59, 25:59:59].
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS
+.IP \(bu 3
.B tzh_charcnt
bytes that represent time zone designations,
which are null-terminated byte strings, each indexed by the
@@ -318,8 +318,8 @@ This section documents common problems in reading or writing TZif files.
Most of these are problems in generating TZif files for use by
older readers.
The goals of this section are:
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS 2
+.IP \(bu 3
to help TZif writers output files that avoid common
pitfalls in older or buggy TZif readers,
.IP \(bu
@@ -343,8 +343,8 @@ workarounds, as well as to document other common bugs in
readers.
.PP
Interoperability problems with TZif include the following:
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS 2
+.IP \(bu 3
Some readers examine only version 1 data.
As a partial workaround, a writer can output as much version 1
data as possible.
@@ -459,8 +459,8 @@ introduced in 1972.
.PP
Some interoperability problems are reader bugs that
are listed here mostly as warnings to developers of readers.
-.RS "\w' 'u"
-.IP \(bu "\w'\(bu 'u"
+.RS 2
+.IP \(bu 3
Some readers do not support negative timestamps.
Developers of distributed applications should keep this
in mind if they need to deal with pre-1970 data.