diff options
Diffstat (limited to 'comms/xisp/patches/patch-aj')
-rw-r--r-- | comms/xisp/patches/patch-aj | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/xisp/patches/patch-aj b/comms/xisp/patches/patch-aj new file mode 100644 index 00000000000..2cb3316bb02 --- /dev/null +++ b/comms/xisp/patches/patch-aj @@ -0,0 +1,21 @@ +$NetBSD: patch-aj,v 1.1.1.1 1998/12/03 15:08:53 frueauf Exp $ + +--- xisprccv.c.orig Mon Oct 26 05:35:01 1998 ++++ xisprccv.c Mon Nov 30 16:40:18 1998 +@@ -465,13 +465,13 @@ + { + char emsg[MSGLEN_ERR+1]; + +-#ifndef SUNOS5x ++#ifdef HAVE_STRERROR ++ sprintf(emsg, "xisprccv: %s: %s\n", msg, strerror(errno)); ++#else + if (errno < sys_nerr) + sprintf(emsg, "xisprccv: %s: %s\n", msg, sys_errlist[errno]); + else + sprintf(emsg, "xisprccv: %s: error #%d\n", msg, errno); +-#else +- sprintf(emsg, "xisprccv: %s: %s\n", msg, strerror(errno)); + #endif + fputs(emsg, stderr); + exit(1); |