* change EXECSHELL to /bin/sh (we can override it via environment anyway,
and this is a sensible choice instead of ourselves) * move this stuff from sh.h into exec.c where it belongs * simplify set -o stuff saves 8 bytes
This commit is contained in:
5
sh.h
5
sh.h
@ -8,7 +8,7 @@
|
||||
/* $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.70 2006/11/10 01:25:22 tg Exp $"
|
||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.71 2006/11/10 01:44:40 tg Exp $"
|
||||
#define MKSH_VERSION "R29 2006/11/10"
|
||||
|
||||
#if HAVE_SYS_PARAM_H
|
||||
@ -135,9 +135,6 @@ extern int __cdecl setegid(gid_t);
|
||||
# define EXTERN_DEFINED
|
||||
#endif
|
||||
|
||||
#define EXECSHELL "/bin/mksh"
|
||||
#define EXECSHELL_STR "EXECSHELL"
|
||||
|
||||
#define NELEM(a) (sizeof (a) / sizeof ((a)[0]))
|
||||
#define sizeofN(typ, n) (sizeof (typ) * (n))
|
||||
#define BIT(i) (1 << (i)) /* define bit in flag */
|
||||
|
Reference in New Issue
Block a user