diff --git a/stable-patches/execute_cmd.c b/stable-patches/execute_cmd.c new file mode 100644 index 0000000..ce87d50 --- /dev/null +++ b/stable-patches/execute_cmd.c @@ -0,0 +1,16 @@ +diff --git i/execute_cmd.c w/execute_cmd.c +index 070f511..96bc21a 100644 +--- i/execute_cmd.c ++++ w/execute_cmd.c +@@ -106,6 +106,11 @@ extern int errno; + # include /* mbschr */ + #endif + ++#ifdef __MVS__ ++/* z/OS has a bug with AUTOCVT=ALL */ ++#undef HAVE_HASH_BANG_EXEC ++#endif ++ + extern int command_string_index; + extern char *the_printed_command; + extern time_t shell_start_time; diff --git a/stable-patches/execute_cmd.c.patch b/stable-patches/execute_cmd.c.patch new file mode 100644 index 0000000..ce87d50 --- /dev/null +++ b/stable-patches/execute_cmd.c.patch @@ -0,0 +1,16 @@ +diff --git i/execute_cmd.c w/execute_cmd.c +index 070f511..96bc21a 100644 +--- i/execute_cmd.c ++++ w/execute_cmd.c +@@ -106,6 +106,11 @@ extern int errno; + # include /* mbschr */ + #endif + ++#ifdef __MVS__ ++/* z/OS has a bug with AUTOCVT=ALL */ ++#undef HAVE_HASH_BANG_EXEC ++#endif ++ + extern int command_string_index; + extern char *the_printed_command; + extern time_t shell_start_time;