<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/time/strptime.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/time/strptime.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/time/strptime.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-05-12T12:49:52Z</updated>
<entry>
<title>Unifdef TM_GMTOFF TM_ZONE USG_COMPAT ALTZONE to make the code more readable.</title>
<updated>2019-05-12T12:49:52Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-05-12T12:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb5f5481f19635d142a1c2a56c775f73b38b4cef'/>
<id>urn:sha1:bb5f5481f19635d142a1c2a56c775f73b38b4cef</id>
<content type='text'>
No binary change when compiled with -g0.
Note that wcsftime.c did not even compile without TM_ZONE.
OK millert@
</content>
</entry>
<entry>
<title>trim trailing whitespace (reported by Hiltjo Posthuma)</title>
<updated>2019-05-10T21:39:05Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-05-10T21:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=69306ac67449f71c51f70d018f8e39a46698a0be'/>
<id>urn:sha1:69306ac67449f71c51f70d018f8e39a46698a0be</id>
<content type='text'>
and also delete spaces before tabs;
no object change
</content>
</entry>
<entry>
<title>repair %z: store seconds into tm_gmtoff, not centihours;</title>
<updated>2019-05-10T21:27:57Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-05-10T21:27:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a4640754df0f2e379a717c4b1397173cd2e2fb30'/>
<id>urn:sha1:a4640754df0f2e379a717c4b1397173cd2e2fb30</id>
<content type='text'>
bug reported by Hiltjo Posthuma &lt;hiltjo at codemadness dot org&gt;;
feedback and OK millert@, OK tedu@
</content>
</entry>
<entry>
<title>repair %Z: write seconds into tm_gmtoff, not hours;</title>
<updated>2019-05-10T20:24:58Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-05-10T20:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=915e58e3f0d3bdee941450fc0b782e6047d5e81a'/>
<id>urn:sha1:915e58e3f0d3bdee941450fc0b782e6047d5e81a</id>
<content type='text'>
patch from Hiltjo Posthuma &lt;hiltjo at codemadness dot org&gt;;
OK tedu@ millert@
</content>
</entry>
<entry>
<title>Delete support for military timezones in %z (A-I and K-Y).</title>
<updated>2019-05-10T12:49:16Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-05-10T12:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7aa88c38e720b5f246f58412f418a0fcca7dfa6b'/>
<id>urn:sha1:7aa88c38e720b5f246f58412f418a0fcca7dfa6b</id>
<content type='text'>
They were originally defined in one way, then RFC822 erroneously
redefined them the opposite way, then RFC5322 said they can no
longer be used reliably.
So return NULL like FreeBSD, DragonFly, glibc, and musl do.

Issue reported by Hiltjo Posthuma &lt;hiltjo at codemadness dot org&gt;.
Deletion suggested by tedu@ and deraadt@.
Feedback and OK on the patch from tedu@.
</content>
</entry>
<entry>
<title>Consume one leading space with %e iff given</title>
<updated>2019-02-21T19:10:32Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2019-02-21T19:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6ae998acafaafc36010db006537e87bc7f863a94'/>
<id>urn:sha1:6ae998acafaafc36010db006537e87bc7f863a94</id>
<content type='text'>
Since strftime(3)'s %e conversion specification preceeds single digits by a
blank, do the converse here to allow safe data round trips through these
functions with the same format string.

Positive feedback tedu deraadt,
OK millert jca
</content>
</entry>
<entry>
<title>strptime(3): Disallow double leap second.</title>
<updated>2019-01-22T11:09:03Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2019-01-22T11:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9550256d62d57a2fbe28b1b74655cea54de76db8'/>
<id>urn:sha1:9550256d62d57a2fbe28b1b74655cea54de76db8</id>
<content type='text'>
POSIX allows for one extra second in a minute, i.e. "23:59:60", so that leap
seconds can be parsed.  They don't allow for *two* extra seconds, i.e.
"23:59:61", though.

Typo introduced in NetBSD lib/libc/time/strptime.c,v1.3.

ok krw@ bcook@ tedu@
</content>
</entry>
<entry>
<title>strftime can print epoch seconds with %s, so allow strptime to parse it.</title>
<updated>2019-01-21T21:35:58Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-21T21:35:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b6d3ee0d7de01986727667b988d461776f93c506'/>
<id>urn:sha1:b6d3ee0d7de01986727667b988d461776f93c506</id>
<content type='text'>
ok cheloha
</content>
</entry>
<entry>
<title>Stop exposing &lt;sys/localedef.h&gt; and various symbols internal to the libc</title>
<updated>2016-05-23T00:05:15Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-23T00:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=558b4987cd4826b6cffb224fe684d5f8c1cda3f8'/>
<id>urn:sha1:558b4987cd4826b6cffb224fe684d5f8c1cda3f8</id>
<content type='text'>
locale implementation: _{Current,Default}*Locale, __[mn]locale_changed,
__mb_len_max_runtime

ok millert@ schwarze@ deraadt@
</content>
</entry>
<entry>
<title>Wrap &lt;time.h&gt; so that internal calls go direct and symbols not in C99 are weak</title>
<updated>2015-09-12T14:35:40Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-12T14:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d17652bce78af081b2a21cb7df22b93b80c698ce'/>
<id>urn:sha1:d17652bce78af081b2a21cb7df22b93b80c698ce</id>
<content type='text'>
Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to
	reduce noise with -Wmissing-prototypes
Eliminate unnecessary #includes
</content>
</entry>
</feed>
