]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] fix some build warnings on Solaris with is* macros
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Mar 2010 23:16:00 +0000 (00:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Mar 2010 23:16:00 +0000 (00:16 +0100)
commit88e058164a9cb7381361aaa97e399495fc3e2b92
tree1cb3bfce42e8e457201e474a84e1b337972ed0be
parent0e996c681ff47b4d503ba219e4e3eaba3e1770f0
[BUILD] fix some build warnings on Solaris with is* macros

isalnum, isdigit and friends are really annoying because they take
an int in which we should pass an unsigned char, while strings
everywhere use chars. Solaris uses macros relying on an array for
those functions, which easily triggers some warnings showing where
we have mistakenly passed a char instead of an unsigned char or an
int. Those warnings may indicate real bugs on some platforms
depending on the implementation.
src/buffers.c
src/cfgparse.c
src/checks.c
src/standard.c