introduce MKSH_NOPROSPECTOFWORK which is like pdksh’s JOB_SIGS in reverse, like MKSH_UNEMPLOYED is pdksh’s JOBS in reverse; allows mksh to work (hah! no pun intended…) with klibc (and possibly, Syllable Desktop and Plan 9) for now, until they fix their bugs
This commit is contained in:
8
sh.h
8
sh.h
@@ -154,7 +154,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.424 2011/01/22 20:33:14 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.425 2011/01/30 01:35:35 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R39 2011/01/22"
|
||||
|
||||
@@ -489,6 +489,10 @@ char *ucstrstr(char *, const char *);
|
||||
#define MKSH_S_NOVI 0
|
||||
#endif
|
||||
|
||||
#if defined(MKSH_NOPROSPECTOFWORK) && !defined(MKSH_UNEMPLOYED)
|
||||
#define MKSH_UNEMPLOYED
|
||||
#endif
|
||||
|
||||
/*
|
||||
* simple grouping allocator
|
||||
*/
|
||||
@@ -789,8 +793,10 @@ struct coproc {
|
||||
};
|
||||
EXTERN struct coproc coproc;
|
||||
|
||||
#ifndef MKSH_NOPROSPECTOFWORK
|
||||
/* Used in jobs.c and by coprocess stuff in exec.c */
|
||||
EXTERN sigset_t sm_default, sm_sigchld;
|
||||
#endif
|
||||
|
||||
/* name of called builtin function (used by error functions) */
|
||||
EXTERN const char *builtin_argv0;
|
||||
|
Reference in New Issue
Block a user