Accepting request 51192 from shells
Accepted submit request 51192 from user WernerFink OBS-URL: https://build.opensuse.org/request/show/51192 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=49
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 21 12:36:44 CEST 2010 - werner@suse.de
|
||||
|
||||
- Yet an other file descriptor leak caused by audit feature
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 13:11:24 CEST 2010 - werner@suse.de
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ Patch15: ksh93-s390.dif
|
||||
Patch16: ksh93-leak.dif
|
||||
Patch17: ksh93-ifs.dif
|
||||
Patch18: ksh93-fdfn.dif
|
||||
Patch19: ksh93-fdleak.dif
|
||||
%global use_suid_exe 0
|
||||
%global use_locale 1
|
||||
%global debug_memleak 0
|
||||
@@ -139,6 +140,7 @@ find share/ -type d -a -empty | xargs -r rm -vrf
|
||||
%patch16
|
||||
%patch17
|
||||
%patch18
|
||||
%patch19
|
||||
|
||||
%build
|
||||
typeset -i IGNORED=0x$(ps --no-headers -o ignored $$)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- src/cmd/ksh93/edit/history.c
|
||||
+++ src/cmd/ksh93/edit/history.c 2010-10-21 10:35:05.567927921 +0000
|
||||
@@ -394,6 +394,7 @@ retry:
|
||||
}
|
||||
if(fd>=0)
|
||||
{
|
||||
+ fcntl(fd,F_SETFD,FD_CLOEXEC);
|
||||
hp->tty = strdup(ttyname(2));
|
||||
hp->auditfp = sfnew((Sfio_t*)0,NULL,-1,fd,SF_WRITE);
|
||||
}
|
||||
Reference in New Issue
Block a user