From 148c01959515a512ef8b22d6fde27436d5b35870 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 12 May 2015 14:09:21 +0900 Subject: [PATCH] MZ magic is supported on OS/2 --- exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec.c b/exec.c index f689aa0..22a3aa5 100644 --- a/exec.c +++ b/exec.c @@ -970,7 +970,9 @@ scriptexec(struct op *tp, const char **ap) (m == /* ECOFF_I386 */ 0x4C01) || (m == /* ECOFF_M68K */ 0x0150 || m == 0x5001) || (m == /* ECOFF_SH */ 0x0500 || m == 0x0005) || +#ifndef __OS2__ (m == /* "MZ" */ 0x4D5A) || +#endif (m == /* gzip */ 0x1F8B) || (m == /* .Z */ 0x1F9D)) errorf("%s: not executable: magic %04X", tp->str, m); nomagic: