shithub: riscv

Download patch

ref: 38d421ec001ac48c899b4945819fb5c6d9716947
parent: cd694c60169796b96f689546ca5a0e019cb7048b
author: cinap_lenrek <[email protected]>
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