Blame SOURCES/bash-4.2-enable-hyphened-fn-export.patch

751b60
--- variables.cold	2015-01-16 13:53:13.817363093 +0100
751b60
+++ variables.c	2015-01-16 13:57:41.839425969 +0100
751b60
@@ -366,7 +366,7 @@ initialize_shell_variables (env, privmod
751b60
 	  /* Don't import function names that are invalid identifiers from the
751b60
 	     environment, though we still allow them to be defined as shell
751b60
 	     variables. */
751b60
-	  if (legal_identifier (temp_name))
751b60
+	  if (absolute_program (temp_name) == 0 && (posixly_correct == 0 || legal_identifier (temp_name)))
751b60
 	    parse_and_execute (temp_string, temp_name,
751b60
 			       SEVAL_NONINT|SEVAL_NOHIST|SEVAL_FUNCDEF|SEVAL_ONECMD);
751b60