aboutsummaryrefslogtreecommitdiffstats
path: root/net/coda6_server/files/patch-srv.cc
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-12-30 01:36:19 +0800
committersem <sem@FreeBSD.org>2004-12-30 01:36:19 +0800
commiteaed0d6f6350fb2938546a29de021e0f6f9d83cb (patch)
tree83b869fa0356800a0552c1594e93a8b316b7201f /net/coda6_server/files/patch-srv.cc
parentb4564de947c0a33b1f589341973c892b6542003f (diff)
downloadfreebsd-ports-graphics-eaed0d6f6350fb2938546a29de021e0f6f9d83cb.tar.gz
freebsd-ports-graphics-eaed0d6f6350fb2938546a29de021e0f6f9d83cb.tar.zst
freebsd-ports-graphics-eaed0d6f6350fb2938546a29de021e0f6f9d83cb.zip
- Update to 6.0.7
PR: ports/74258, ports/74259 Submitted by: Radim Kolar <hsn(at)netmag.cz> Approved by: maintainer (timeout: 1+ month)
Diffstat (limited to 'net/coda6_server/files/patch-srv.cc')
-rw-r--r--net/coda6_server/files/patch-srv.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/coda6_server/files/patch-srv.cc b/net/coda6_server/files/patch-srv.cc
new file mode 100644
index 00000000000..b070dc25587
--- /dev/null
+++ b/net/coda6_server/files/patch-srv.cc
@@ -0,0 +1,20 @@
+--- coda-src/vice/srv.cc.orig Fri Sep 3 16:22:14 2004
++++ coda-src/vice/srv.cc Tue Nov 16 22:19:04 2004
+@@ -1204,6 +1204,7 @@
+ void SwapLog()
+ {
+ struct timeval tp;
++ time_t start;
+
+ /* Need to chdir() again, since salvage may have put me elsewhere */
+ if(chdir(vice_file("srv"))) {
+@@ -1216,7 +1217,8 @@
+
+ /* Print out time/date, since date info has "scrolled off" */
+ TM_GetTimeOfDay(&tp, 0);
+- SLog(0, "Coda Vice, version " PACKAGE_VERSION "\tlog started at %s", ctime(&tp.tv_sec));
++ start=tp.tv_sec;
++ SLog(0, "Coda Vice, version " PACKAGE_VERSION "\tlog started at %s", ctime(&start));
+ }
+
+ static void FileMsg()