Commit 4dab1e80 authored by Ulrich Drepper's avatar Ulrich Drepper
Browse files

automatically generated from GPLed version

parent 915c0e25
......@@ -196,7 +196,7 @@ __mktime_internal (tp, convert, offset)
/* The maximum number of probes (calls to CONVERT) should be enough
to handle any combinations of time zone rule changes, solar time,
and leap seconds. Posix.1 prohibits leap seconds, but some hosts
and leap seconds. POSIX.1 prohibits leap seconds, but some hosts
have them anyway. */
int remaining_probes = 4;
......
......@@ -885,6 +885,11 @@ my_strftime (s, maxsize, format, tp)
cpy (buf + sizeof (buf) - bufp, bufp);
break;
case 'F':
if (modifier != 0)
goto bad_format;
subfmt = "%Y-%m-%d";
goto subformat;
case 'H':
if (modifier == 'E')
......@@ -1031,6 +1036,7 @@ my_strftime (s, maxsize, format, tp)
add (1, *p = '\t');
break;
case 'f':
case 'u': /* POSIX.2 extension. */
DO_NUMBER (1, (tp->tm_wday - 1 + 7) % 7 + 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment