mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 20:07:50 -04:00
22 lines
491 B
Plaintext
22 lines
491 B
Plaintext
$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] == '#')
|