mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
35929: protect FDT_PROC_SUBST by #ifdef
This commit is contained in:
parent
d09dc4562a
commit
b0ebabdc65
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2015-08-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* 35929: Src/jobs.c: protect FDT_PROC_SUBST by #ifdef
|
||||||
|
|
||||||
2015-08-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
2015-08-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
* 35928: Src/utils.c, Doc/Zsh/prompt.yo: date/time format such
|
* 35928: Src/utils.c, Doc/Zsh/prompt.yo: date/time format such
|
||||||
|
|
|
@ -1189,8 +1189,11 @@ pipecleanfilelist(LinkList filelist, int proc_subst_only)
|
||||||
while (node) {
|
while (node) {
|
||||||
Jobfile jf = (Jobfile)getdata(node);
|
Jobfile jf = (Jobfile)getdata(node);
|
||||||
if (jf->is_fd &&
|
if (jf->is_fd &&
|
||||||
(!proc_subst_only ||
|
(!proc_subst_only
|
||||||
fdtable[jf->u.fd] == FDT_PROC_SUBST)) {
|
#ifdef FDT_PROC_SUBST
|
||||||
|
|| fdtable[jf->u.fd] == FDT_PROC_SUBST
|
||||||
|
#endif
|
||||||
|
)) {
|
||||||
LinkNode next = nextnode(node);
|
LinkNode next = nextnode(node);
|
||||||
zclose(jf->u.fd);
|
zclose(jf->u.fd);
|
||||||
(void)remnode(filelist, node);
|
(void)remnode(filelist, node);
|
||||||
|
|
Loading…
Reference in a new issue