40495b13f1
to ctype macros. Bump package revision.
21 lines
491 B
Text
21 lines
491 B
Text
$NetBSD: patch-aj,v 1.2 2004/12/30 11:05:04 agc Exp $
|
|
|
|
--- src/serverlist.c.orig Wed Mar 15 17:13:29 2000
|
|
+++ src/serverlist.c
|
|
@@ -1,6 +1,7 @@
|
|
#include <ctype.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <pwd.h>
|
|
#include <sys/param.h>
|
|
#include <sys/types.h>
|
|
@@ -138,7 +139,7 @@
|
|
|
|
index = 0;
|
|
|
|
- while (line[index] && isspace(line[index]))
|
|
+ while (line[index] && isspace((unsigned char)line[index]))
|
|
++index;
|
|
|
|
if (!line[index] || line[index] == '#')
|