[Cyrus-CVS] src/cyrus/lib 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/lib
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/lib

Modified Files:
	auth_krb.c auth_unix.c charset.c cyrusdb_sql.c getaddrinfo.c 
	imapurl.c imclient.c imparse.c libconfig.c mkchartable.c 
	parseaddr.c util.c util.h 
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/lib/auth_krb.c.diff?r1=1.44&r2=1.45
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/auth_unix.c.diff?r1=1.51&r2=1.52
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/charset.c.diff?r1=1.50&r2=1.51
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/cyrusdb_sql.c.diff?r1=1.1&r2=1.2
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/getaddrinfo.c.diff?r1=1.7&r2=1.8
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imapurl.c.diff?r1=1.16&r2=1.17
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imclient.c.diff?r1=1.93&r2=1.94
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imparse.c.diff?r1=1.13&r2=1.14
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libconfig.c.diff?r1=1.21&r2=1.22
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/mkchartable.c.diff?r1=1.27&r2=1.28
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/parseaddr.c.diff?r1=1.18&r2=1.19
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/util.c.diff?r1=1.37&r2=1.38
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/util.h.diff?r1=1.25&r2=1.26


More information about the Cyrus-cvs mailing list