[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kinit
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2010-01-31 12:39:12
Message-ID: 20100131123912.GA3609 () ugly ! local
[Download RAW message or body]

On Sun, Jan 31, 2010 at 10:50:47AM +0000, Luboš Luňák wrote:
> SVN commit 1082803 by lunakl:
> 
> Do not close the OOM protection pipe at startup.
> 
> 
> 
>  M  +13 -4     kinit.cpp  
> 
> 
> --- trunk/KDE/kdelibs/kinit/kinit.cpp #1082802:1082803
> @@ -174,7 +178,10 @@
>      if (getrlimit(RLIMIT_NOFILE, &rl) == 0)
>          maxfd = rl.rlim_max;
>      for (int fd = 3; fd < maxfd; ++fd)
> -       close(fd);
> +    {
> +       if( fd != oom_pipe )
>
#ifdef KDEINIT_OOM_PROTECT ?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic