[New-bugs-announce] [issue19036] setlocale fails due to locale.h being wrapped up in LANGINFO check.

Alan Hourihane report at bugs.python.org
Mon Sep 16 18:02:37 CEST 2013


New submission from Alan Hourihane:

Patch....

--- Python/fileutils.c.old	2013-09-11 07:04:42.000000000 +0000
+++ Python/fileutils.c	2013-09-11 07:05:01.000000000 +0000
@@ -4,8 +4,8 @@
 #  include <windows.h>
 #endif
 
-#ifdef HAVE_LANGINFO_H
 #include <locale.h>
+#ifdef HAVE_LANGINFO_H
 #include <langinfo.h>
 #endif

----------
components: Build
messages: 197914
nosy: alanh
priority: normal
severity: normal
status: open
title: setlocale fails due to locale.h being wrapped up in LANGINFO check.
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19036>
_______________________________________


More information about the New-bugs-announce mailing list