• (re)implement shebang execution file parsing; this makes the “and which

do not start with a "#!shell" sequence” part of mksh(1) true again; this
  was probably lost in mksh R21 or so when I decided/saw that our kernel
  always parses shebang lines (code written myself, not taken from pdksh
  again or MirBSD kernel, but verified against both)
• bom+shebang execution now works, no need setting EXECSHELL in the test
• bump version
This commit is contained in:
tg
2007-04-15 12:09:57 +00:00
parent 40be0d9f04
commit 2785ce3de4
3 changed files with 58 additions and 7 deletions

4
sh.h
View File

@ -8,8 +8,8 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.122 2007/04/15 10:45:59 tg Exp $"
#define MKSH_VERSION "R29 2007/03/14"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.123 2007/04/15 12:09:57 tg Exp $"
#define MKSH_VERSION "R29 2007/04/15"
#if HAVE_SYS_PARAM_H
#include <sys/param.h>