[Cyrus-CVS] src/cyrus/timsieved by brong

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


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

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/timsieved/lex.c.diff?r1=1.28&r2=1.29


More information about the Cyrus-cvs mailing list