summaryrefslogtreecommitdiff
path: root/net/coda5_server/files/patch-aa
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-03-05 09:07:23 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-03-05 09:07:23 +0000
commita3515324ffc0947759a64048ad439dc2385e97dd (patch)
tree189d27ab81b685a31ccb1baf26f5eaac38edec6c /net/coda5_server/files/patch-aa
parentFix a hang on exit on -CURRENT. (diff)
Fix build on current and remove BROKEN tag
PR: ports/48830 Submitted by: tjr
Diffstat (limited to 'net/coda5_server/files/patch-aa')
-rw-r--r--net/coda5_server/files/patch-aa36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/coda5_server/files/patch-aa b/net/coda5_server/files/patch-aa
new file mode 100644
index 000000000000..d1d4f2fd4f24
--- /dev/null
+++ b/net/coda5_server/files/patch-aa
@@ -0,0 +1,36 @@
+--- coda-src/update/updatesrv.cc.orig Sun Mar 2 17:55:46 2003
++++ coda-src/update/updatesrv.cc Sun Mar 2 17:57:50 2003
+@@ -184,6 +184,7 @@
+ long portmapid;
+ struct stat statbuf;
+ char *miscdir;
++ time_t tim;
+
+ /* process the command line arguments */
+ for (i = 1; i < argc; i++) {
+@@ -305,7 +306,7 @@
+ }
+ gettimeofday(&tp, &tsp);
+ LogMsg(0, SrvDebugLevel, stdout,
+- "Update Server started %s", ctime(&tp.tv_sec));
++ "Update Server started %s", ctime(&(tim = tp.tv_sec)));
+
+ CODA_ASSERT(LWP_WaitProcess((char *)&parentPid) == LWP_SUCCESS);
+
+@@ -455,6 +456,7 @@
+ char name[MAXPATHLEN]; /* area to hold the name */
+ struct stat buff; /* buffer for stat */
+ int len;
++ time_t tim;
+
+ rc = 0;
+
+@@ -518,7 +520,7 @@
+ *CurrentUsecs = tp.tv_usec;
+ LogMsg(2, SrvDebugLevel, stdout,
+ "UpdateFetch returns %s newtime is %d at %s",
+- ViceErrorMsg((int)rc), *NewTime, ctime(&tp.tv_sec));
++ ViceErrorMsg((int)rc), *NewTime, ctime(&(tim = tp.tv_sec)));
+ return(rc);
+ }
+