diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-19 00:06:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-19 00:06:47 +0000 |
commit | d2b29ade853ddbcab4ed3edc5432b897682f2f2c (patch) | |
tree | b155540dfdb063a565a933821bd7cf40eb1068ad /converters/ish/patches | |
parent | 338479496605f89b5a499e2e698872c8a4e222f1 (diff) | |
download | pkgsrc-d2b29ade853ddbcab4ed3edc5432b897682f2f2c.tar.gz |
Fix errno.
Diffstat (limited to 'converters/ish/patches')
-rw-r--r-- | converters/ish/patches/patch-ab | 12 | ||||
-rw-r--r-- | converters/ish/patches/patch-ac | 16 |
2 files changed, 22 insertions, 6 deletions
diff --git a/converters/ish/patches/patch-ab b/converters/ish/patches/patch-ab index 33c5618aa0a..44c840491a5 100644 --- a/converters/ish/patches/patch-ab +++ b/converters/ish/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1 2005/03/24 16:14:03 minskim Exp $ +$NetBSD: patch-ab,v 1.2 2005/12/19 00:06:47 joerg Exp $ ---- decode.c.orig 1990-08-05 06:04:08.000000000 -0500 +--- decode.c.orig 1990-08-05 11:04:08.000000000 +0000 +++ decode.c @@ -16,6 +16,9 @@ #include <time.h> @@ -12,3 +12,11 @@ $NetBSD: patch-ab,v 1.1 2005/03/24 16:14:03 minskim Exp $ #ifdef __TURBOC__ #include <time.h> #include <io.h> +@@ -38,7 +41,6 @@ int type,dline; + unsigned char decbuf[LBUFLEN][LBUFLEN]; + + extern unsigned char *index(); +-extern int errno; + + decode() + { diff --git a/converters/ish/patches/patch-ac b/converters/ish/patches/patch-ac index 14137679904..6a807253278 100644 --- a/converters/ish/patches/patch-ac +++ b/converters/ish/patches/patch-ac @@ -1,8 +1,16 @@ -$NetBSD: patch-ac,v 1.1 2005/03/24 16:14:03 minskim Exp $ +$NetBSD: patch-ac,v 1.2 2005/12/19 00:06:47 joerg Exp $ ---- ish.c.orig 1990-08-05 06:04:08.000000000 -0500 +--- ish.c.orig 1990-08-05 11:04:08.000000000 +0000 +++ ish.c -@@ -48,7 +48,7 @@ int path = 0, size; +@@ -32,7 +32,6 @@ + #define rindex strrchr + #endif + +-extern int errno; + extern char *rindex(); + + void help(), puttitle(); +@@ -48,7 +47,7 @@ int path = 0, size; long lsize; char *filename = "file.ish"; @@ -11,7 +19,7 @@ $NetBSD: patch-ac,v 1.1 2005/03/24 16:14:03 minskim Exp $ FILE *ipath; char name[NAMLEN]; -@@ -69,6 +69,7 @@ char **argv; +@@ -69,6 +68,7 @@ char **argv; char *p; FILE *fopen(); |