[Cyrus-CVS] src/cyrus/installsieve by brong
brong at andrew.cmu.edu
brong at andrew.cmu.edu
Tue Mar 31 00:11:21 EDT 2009
Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/installsieve
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/installsieve
Modified Files:
lex.c
Log Message:
Replace ctype macros
.. which all expect int argument in the range 0..255
or EOF (typically -1). I have left a few instances of isspace() and
friends where the input comes from fgetc() or prot_getc(), and
consequently is in the expected range.
Mostly automatic using find and sed, but I did go back and remove
casts to (unsigned char) [correct but redundant], and (int) [typically
incorrect if the source is signed char, probably put there to stop
the compiler moaning].
(thanks to David Carter)
--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/installsieve/lex.c.diff?r1=1.12&r2=1.13
More information about the Cyrus-cvs
mailing list