diff options
Diffstat (limited to 'comms/xisp/patches/patch-ab')
-rw-r--r-- | comms/xisp/patches/patch-ab | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/comms/xisp/patches/patch-ab b/comms/xisp/patches/patch-ab deleted file mode 100644 index a242d6b1175..00000000000 --- a/comms/xisp/patches/patch-ab +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 1998/12/03 15:08:53 frueauf Exp $ - ---- logs.c.orig Mon Oct 26 05:35:01 1998 -+++ logs.c Mon Nov 30 16:25:23 1998 -@@ -142,10 +142,10 @@ - htm.tm_hour=12; - htm.tm_min=0; - htm.tm_sec=0; --#ifndef SUNOS41x -- htt=mktime(&htm); --#else -+#ifdef SUNOS41x - htt=timelocal(&htm); -+#else -+ htt=mktime(&htm); - #endif - memcpy(&ptm, localtime(&htt), sizeof(struct tm)); - -@@ -2483,13 +2483,13 @@ - { - char emsg[MSGLEN_ERR+1]; - --#ifndef SUNOS5x -+#ifdef HAVE_STRERROR -+ sprintf(emsg, "xISP: %s: %s\n", msg, strerror(errno)); -+#else - if (errno < sys_nerr) - sprintf(emsg, "xISP: %s: %s\n", msg, sys_errlist[errno]); - else - sprintf(emsg, "xISP: %s: error #%d\n", msg, errno); --#else -- sprintf(emsg, "xISP: %s: %s\n", msg, strerror(errno)); - #endif - fputs(emsg, stderr); - exit(1); -@@ -2529,10 +2529,10 @@ - } - for (++p; *p==' '; p++); - strncpy(sparam, p, sizeof(sparam)-1); --#ifndef SUNOS41x -- *data = strtoul(sparam, &endp, 10); --#else -+#ifdef SUNOS41x - *data = (unsigned long)strtol(sparam, &endp, 10); -+#else -+ *data = strtoul(sparam, &endp, 10); - #endif - return(line); - } |