mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix mkservice compile errors and add SHOPT_MKSERVICE (#401)
The unused mkservice and eloop builtins are currently not built, and if an attempt to compile them is made the build ends in failure. This commit backports a few build fixes from ksh93v- 2012-08-24 that allow mkservice and eloop to build (plus an additional compiler warning fix not in ksh93v-). I've also added a new SHOPT_MKSERVICE setting (turned off by default) so that mkservice and eloop can be built if the user chooses to include them in their build of ksh.
This commit is contained in:
parent
a3ed4c368b
commit
0e197eee57
7 changed files with 37 additions and 4 deletions
|
|
@ -101,6 +101,10 @@ extern int b_builtin(int, char*[],Shbltin_t*);
|
|||
extern int b_cd(int, char*[],Shbltin_t*);
|
||||
extern int b_command(int, char*[],Shbltin_t*);
|
||||
extern int b_getopts(int, char*[],Shbltin_t*);
|
||||
#if SHOPT_MKSERVICE
|
||||
extern int b_mkservice(int, char*[],Shbltin_t*);
|
||||
extern int b_eloop(int, char*[],Shbltin_t*);
|
||||
#endif /* SHOPT_MKSERVICE */
|
||||
extern int b_hist(int, char*[],Shbltin_t*);
|
||||
extern int b_let(int, char*[],Shbltin_t*);
|
||||
extern int b_read(int, char*[],Shbltin_t*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue