rcolebaugh / rpms / bash

Forked from rpms/bash 2 years ago
Clone
9014c4
diff -up bash-4.3/locale.c.old bash-4.3/locale.c
9014c4
--- bash-4.3/locale.c.old	2015-07-15 11:55:00.002857301 +0200
9014c4
+++ bash-4.3/locale.c	2015-07-15 11:48:36.698086257 +0200
9014c4
@@ -77,8 +77,6 @@ set_default_locale ()
9014c4
 {
9014c4
 #if defined (HAVE_SETLOCALE)
9014c4
   default_locale = setlocale (LC_ALL, "");
9014c4
-  if (default_locale)
9014c4
-    default_locale = savestring (default_locale);
9014c4
 #endif /* HAVE_SETLOCALE */
9014c4
   bindtextdomain (PACKAGE, LOCALEDIR);
9014c4
   textdomain (PACKAGE);