.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=163
This commit is contained in:
parent
79aeeced3d
commit
e48d785121
@ -795,7 +795,7 @@
|
||||
+ shp->sftable[fd] = sfnew(NIL(Sfio_t*),cp,r,-1,SF_READ|SF_STRING);
|
||||
+ shp->fdstatus[fd] = shp->fdstatus[dupfd];
|
||||
+ }
|
||||
+ else if((fd=sh_fcntl(dupfd,F_DUPFD_CLOEXEC,3))<0)
|
||||
+ else if((fd=sh_fcntl(dupfd,F_DUPFD,3))<0)
|
||||
goto fail;
|
||||
if(fd>= shp->gd->lim.open_max)
|
||||
sh_iovalidfd(shp,fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user