author | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 Sep 2007 14:24:28 +0000 (16:24 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 2 Sep 2007 15:54:29 +0000 (17:54 +0200) | ||
commit | fa7db5e964775dc39e71661884de9f4f8bde7ef6 | |
tree | f483f4ea535bdf87aca24ef98e9bac4ad25613a3 | tree | snapshot |
parent | e491e457a4e2be133baf25d296ccc0aab544d609 | commit | diff |
Added the AC_FUNC_STRERROR_R check.
Even though Posix requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument.
sstrerror() (in src/common.c) has been changed to be aware of this and
handle both cases correctly.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Even though Posix requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument.
sstrerror() (in src/common.c) has been changed to be aware of this and
handle both cases correctly.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in | diff | blob | history | |
src/common.c | diff | blob | history |