mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
remove ${.sh.pool} predefined variable entry (re: 3613da42
)
This entry was doing nothing, because it is another overlooked remnant of the removed libcoshell code.
This commit is contained in:
parent
cd0638690c
commit
1335cbd1d7
3 changed files with 5 additions and 7 deletions
|
@ -97,7 +97,6 @@ const struct shtable2 shtab_variables[] =
|
||||||
".sh.lineno", NV_INTEGER|NV_NOFREE, (char*)0,
|
".sh.lineno", NV_INTEGER|NV_NOFREE, (char*)0,
|
||||||
".sh.stats", 0, (char*)0,
|
".sh.stats", 0, (char*)0,
|
||||||
".sh.math", 0, (char*)0,
|
".sh.math", 0, (char*)0,
|
||||||
".sh.pool", 0, (char*)0,
|
|
||||||
".sh.pid", NV_PID|NV_NOFREE, (char*)0,
|
".sh.pid", NV_PID|NV_NOFREE, (char*)0,
|
||||||
".sh.ppid", NV_PID|NV_NOFREE, (char*)0,
|
".sh.ppid", NV_PID|NV_NOFREE, (char*)0,
|
||||||
".sh.tilde", 0, (char*)0,
|
".sh.tilde", 0, (char*)0,
|
||||||
|
|
|
@ -107,10 +107,9 @@ extern void sh_save_rand_seed(struct rand *, int);
|
||||||
#define SH_LINENO (sh.bltin_nodes+59)
|
#define SH_LINENO (sh.bltin_nodes+59)
|
||||||
#define SH_STATS (sh.bltin_nodes+60)
|
#define SH_STATS (sh.bltin_nodes+60)
|
||||||
#define SH_MATHNOD (sh.bltin_nodes+61)
|
#define SH_MATHNOD (sh.bltin_nodes+61)
|
||||||
#define SH_JOBPOOL (sh.bltin_nodes+62)
|
#define SH_PIDNOD (sh.bltin_nodes+62)
|
||||||
#define SH_PIDNOD (sh.bltin_nodes+63)
|
#define SH_PPIDNOD (sh.bltin_nodes+63)
|
||||||
#define SH_PPIDNOD (sh.bltin_nodes+64)
|
#define SH_TILDENOD (sh.bltin_nodes+64)
|
||||||
#define SH_TILDENOD (sh.bltin_nodes+65)
|
#define SHLVL (sh.bltin_nodes+65)
|
||||||
#define SHLVL (sh.bltin_nodes+66)
|
|
||||||
|
|
||||||
#endif /* SH_VALNOD */
|
#endif /* SH_VALNOD */
|
||||||
|
|
|
@ -1004,7 +1004,7 @@ set -- $(
|
||||||
[[ -n $varname && $varname != '.sh' ]] && print -r -- "$varname"
|
[[ -n $varname && $varname != '.sh' ]] && print -r -- "$varname"
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
(($# >= 65)) || err_exit "could not read shtab_variables[]; adjust test script ($# items read)"
|
(($# >= 64)) || err_exit "could not read shtab_variables[]; adjust test script ($# items read)"
|
||||||
|
|
||||||
# ... unset
|
# ... unset
|
||||||
$SHELL -c '
|
$SHELL -c '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue