artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb60d51
)
Cast isspace() argument to unsigned char.
author
mmcc
<mmcc@openbsd.org>
Fri, 16 Oct 2015 18:21:43 +0000
(18:21 +0000)
committer
mmcc
<mmcc@openbsd.org>
Fri, 16 Oct 2015 18:21:43 +0000
(18:21 +0000)
ok jca@
usr.bin/mail/fio.c
patch
|
blob
|
history
diff --git
a/usr.bin/mail/fio.c
b/usr.bin/mail/fio.c
index
a10545f
..
8f30b9a
100644
(file)
--- a/
usr.bin/mail/fio.c
+++ b/
usr.bin/mail/fio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fio.c,v 1.3
5 2015/10/16 17:56:07
mmcc Exp $ */
+/* $OpenBSD: fio.c,v 1.3
6 2015/10/16 18:21:43
mmcc Exp $ */
/* $NetBSD: fio.c,v 1.8 1997/07/07 22:57:55 phil Exp $ */
/*
@@
-142,7
+142,7
@@
setptr(FILE *ibuf, off_t offset)
} else if (inhead) {
for (cp = linebuf, cp2 = "status";; cp++) {
if ((c = (unsigned char)*cp2++) == 0) {
- while (isspace(*cp++))
+ while (isspace(
(unsigned char)
*cp++))
;
if (cp[-1] != ':')
break;