fix segmentation fault in Python extension (Peter Palfrader)
add -Wall to AM_CFLAGS to discover possible programming errors (Jan Dittberner)
updated Wei Liu (zh_CN) translation (Leah Liu)
+ fixed NLS support in python module compilation (Mike Frysinger)
v2.8.16 update licensing information in Python extension (Jan Dittberner)
make translations work in Python extension (Jan Dittberner)
fix Python extension compilation warning (Jan Dittberner)
#endif
#include <crack.h>
#include <locale.h>
+#ifdef HAVE_LIBINTL_H
#include <libintl.h>
+#endif
#ifdef HAVE_PTHREAD_H
static pthread_mutex_t cracklib_mutex = PTHREAD_MUTEX_INITIALIZER;
}
setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
textdomain("cracklib");
+#endif
LOCK();
result = FascistCheck(candidate, dict ? dict : defaultdict);