git: 9front

Download patch

ref: a5738f9f913058e63c48e77e0e01c0ceaa2f1c66
parent: 76a2f3d8c974efe7f95cac08db4117198c65232b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed May 3 16:47:46 EDT 2017

ctime(2): fix example (thanks raiz)

raiz → the reason that the manpage example works not because
it's a correct timezone file format, but because readtimezone()
(in libc) fails and defaults to GMT.

--- a/sys/man/2/ctime
+++ b/sys/man/2/ctime
@@ -110,7 +110,8 @@
 Greenwich Mean Time is represented by
 .IP
 .EX
-GMT 0
+GMT 0 GMT 0
+0
 .EE
 .SH SOURCE
 .B /sys/src/libc/9sys
--