[Cyrus-CVS] src/sieve by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Tue Mar 31 00:11:30 EDT 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/sieve
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/sieve

Modified Files:
	bc_eval.c comparator.c test.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/sieve/bc_eval.c.diff?r1=1.13&r2=1.14
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sieve/comparator.c.diff?r1=1.23&r2=1.24
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sieve/test.c.diff?r1=1.29&r2=1.30


More information about the Cyrus-cvs mailing list