apply patch from BUG #688

This commit is contained in:
HumanDynamo
2010-04-14 08:09:11 +00:00
parent 0ec85225c3
commit 46a6f318b2
+1 -1
View File
@@ -93,7 +93,7 @@ namespace Exiv2 {
#ifdef EXV_HAVE_STRERROR_R
const size_t n = 1024;
// _GNU_SOURCE: See Debian bug #485135
# if defined EXV_STRERROR_R_CHAR_P || defined _GNU_SOURCE
# if defined EXV_STRERROR_R_CHAR_P && defined _GNU_SOURCE
char *buf = 0;
char buf2[n];
std::memset(buf2, 0x0, n);