Since POSIX.1-2024 specifies geographical TZ as well as the
traditional proleptic TZ settings, change commentary to say
"proleptic TZ" rather than "POSIX TZ".
---
time/tst-mktime2.c | 4 ++--
time/tzfile.c | 6 +++---
time/tzset.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
@@ -55,9 +55,9 @@ spring_forward_gap (void)
/* glibc (up to about 1998-10-07) failed this test. */
struct tm tm;
- /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
+ /* Use the proleptic POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
instead of "TZ=America/Vancouver" in order to detect the bug even
- on systems that don't support the Olson extension, or don't have the
+ on systems that don't support POSIX.1-2024, or don't have the
full zoneinfo tables installed. */
set_timezone ("PST8PDT,M4.1.0,M10.5.0");
@@ -258,7 +258,7 @@ __tzfile_read (const char *file)
goto read_again;
}
- /* Compute the size of the POSIX time zone specification in the
+ /* Compute the size of the proleptic time zone specification in the
file. This includes the trailing but not the leading newline. */
size_t tzspec_size;
if (trans_width == 8)
@@ -471,7 +471,7 @@ __tzfile_read (const char *file)
while (i < typecnt)
types[i++].isutc = 0;
- /* Read the POSIX TZ-style information if possible. */
+ /* Read the proleptic TZ information if possible. */
if (tzspec != NULL)
{
char *nl;
@@ -620,7 +620,7 @@ __tzfile_compute (__time64_t timer, int use_localtime,
goto found;
}
- /* Parse the POSIX TZ-style string. */
+ /* Parse the proleptic TZ string. */
__tzset_parse_tz (tzspec);
/* Convert to broken down structure. If this fails do not
@@ -41,7 +41,7 @@ weak_alias (__timezone, timezone)
__libc_lock_define_initialized (, __tzset_lock)
/* This structure contains all the information about a
- timezone given in the POSIX standard TZ envariable. */
+ timezone given in a proleptic TZ string. */
typedef struct
{
const char *name;
@@ -349,7 +349,7 @@ parse_rule (const char **tzp, int whichrule)
return true;
}
-/* Parse the POSIX TZ-style string. */
+/* Parse a proleptic TZ string. */
void
__tzset_parse_tz (const char *tz)
{