diff options
Diffstat (limited to 'mktable.c')
-rw-r--r-- | mktable.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ -/* $Id: mktable.c,v 1.10 2002/11/12 12:41:58 ukai Exp $ */ +/* $Id: mktable.c,v 1.11 2002/12/24 17:20:47 ukai Exp $ */ #include <stdio.h> #include <stdlib.h> -#include <ctype.h> +#include "myctype.h" #include "config.h" #include "hash.h" #include "Str.h" @@ -74,11 +74,11 @@ main(int argc, char *argv[], char **envp) Strremovetrailingspaces(s); name = Strnew(); for (p = s->ptr; *p; p++) { - if (isspace(*p)) + if (IS_SPACE(*p)) break; Strcat_char(name, *p); } - while (*p && isspace(*p)) + while (*p && IS_SPACE(*p)) p++; putHash_ss(hash, name->ptr, p); n++; |