]> granicus.if.org Git - libevent/commit
Build more cleanly with NetBSDs that dislike toupper(char)
authorNick Mathewson <nickm@torproject.org>
Sat, 31 Jul 2010 21:10:04 +0000 (17:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 31 Jul 2010 21:10:04 +0000 (17:10 -0400)
commit42a8c7111264ff1469083e50bd5b0c0ee494725b
tree85626a54e714771ff41c58d7fb22999c211e773d
parent840a72fbd52197e443efe413650ef3556cfcee60
Build more cleanly with NetBSDs that dislike toupper(char)

To be fair, when char can be signed, if toupper doesn't take negative
characters, toupper(char) is a very bad idea.  So let's just use the
nice safe EVUTIL_TOUPPER instead.  (It explicitly only upcases ASCII,
but we only use it for identifiers that we know to be ASCII anyway).
event.c
test/regress.c