diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-13 19:16:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-13 19:16:06 +0000 |
commit | 100c6288bfe2f0b4fe1c610f55cdd475321a4a9c (patch) | |
tree | 4d1119d3f4282d454c3e6f435e1263f0d68b99ed /sysutils/radmind/patches/patch-ac | |
parent | 36bbc68f8f272096a732f0cbfe31ff3975ede35e (diff) | |
download | pkgsrc-100c6288bfe2f0b4fe1c610f55cdd475321a4a9c.tar.gz |
Fix errno.
XXX This package is also a nice example of how to "fix" ctype-related
XXX compiler warnings without fixing the problems at hand. Con'grats!
Diffstat (limited to 'sysutils/radmind/patches/patch-ac')
-rw-r--r-- | sysutils/radmind/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/radmind/patches/patch-ac b/sysutils/radmind/patches/patch-ac new file mode 100644 index 00000000000..4df63cc8903 --- /dev/null +++ b/sysutils/radmind/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.3 2006/01/13 19:16:06 joerg Exp $ + +--- libsnet/snet.c.orig 2006-01-13 19:00:00.000000000 +0000 ++++ libsnet/snet.c +@@ -430,7 +430,6 @@ snet_readread( sn, buf, len, tv ) + #endif /* linux */ + fd_set fds; + ssize_t rc; +- extern int errno; + + if ( tv ) { + FD_ZERO( &fds ); +@@ -557,7 +556,6 @@ snet_getline( sn, tv ) + { + char *eol, *line; + ssize_t rc; +- extern int errno; + + for ( eol = sn->sn_rcur; ; eol++ ) { + if ( eol >= sn->sn_rend ) { /* fill */ |