projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeaa200
)
(find_word) Cast `char' to `unsigned char' before passing to
author
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:39:50 +0000
(
05:39
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:39:50 +0000
(
05:39
+0000)
isspace().
src/ChangeLog
patch
|
blob
|
history
src/command.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 5c77f6e9be4470ae883840d0c0cc7faa29af0442..41a6cbfff67f95df6d4984b5e507405e57b5d366 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+Sat Jul 30 22:38:46 2005 Ben Pfaff <blp@gnu.org>
+
+ * command.c: (find_word) Cast `char' to `unsigned char' before
+ passing to isspace().
+
Sat Jul 30 22:36:29 2005 Ben Pfaff <blp@gnu.org>
* case.c: (case_compare) Implement as delegating to
diff --git
a/src/command.c
b/src/command.c
index 3185446789b5073ae0b225ce2bdd855152214e3e..de77be80e8f95596e67c291309590691b84b2377 100644
(file)
--- a/
src/command.c
+++ b/
src/command.c
@@
-305,7
+305,7
@@
static const char *
find_word (const char *string, size_t *word_len)
{
/* Skip whitespace and asterisks. */
- while (isspace (*string))
+ while (isspace (
(unsigned char)
*string))
string++;
/* End of string? */