proper fix for settime (it was wrong, wrong, wrong) - vx32 - Local 9vx git repository for patches.
(HTM) git clone git://r-36.net/vx32
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 7d127b5b519bd0fb3e9338bc3fb81e0a46318fe3
(DIR) parent 020b2171632dae815746bcd497df0cb1680f573c
(HTM) Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date: Wed, 15 Sep 2010 18:10:54 +0200
proper fix for settime (it was wrong, wrong, wrong)
Diffstat:
M src/9vx/boot/settime.c.ed | 5 ++++-
M src/9vx/bootcode.9 | 0
2 files changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/9vx/boot/settime.c.ed b/src/9vx/boot/settime.c.ed
@@ -1 +1,4 @@
-/rtc/ s;r/rtc;c/time;
+/if\(islocal\)/+1;/^ }/-1 c
+ print("\n");
+ return;
+.
(DIR) diff --git a/src/9vx/bootcode.9 b/src/9vx/bootcode.9
Binary files differ.