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

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


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

Modified Files:
	master.c masterconf.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/master/master.c.diff?r1=1.113&r2=1.114
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/master/masterconf.c.diff?r1=1.14&r2=1.15


More information about the Cyrus-cvs mailing list