Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions stable-patches/execute_cmd.c
Original file line number Diff line number Diff line change
@@ -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 <mbstr.h> /* 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;
16 changes: 16 additions & 0 deletions stable-patches/execute_cmd.c.patch
Original file line number Diff line number Diff line change
@@ -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 <mbstr.h> /* 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;