blob: 0caa85ddbcdebd5c52783c7ddec2d912fda09229 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-at,v 1.1 2004/12/30 11:05:04 agc Exp $
--- src/getline.c 2004/12/30 10:56:25 1.1
+++ src/getline.c 2004/12/30 10:56:44
@@ -96,7 +96,7 @@
words++;
for (i=0; i<rl_end; ++i)
{
- if (isspace(rl_line_buffer[i]))
+ if (isspace((unsigned char)rl_line_buffer[i]))
{
term++;
if (words==2)
|