This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to make setrlimit() more forgiving


On Thu, Jan 04, 2001 at 09:41:12PM -0500, Christopher Faylor wrote:
> It looks good but I need a ChangeLog.
> 
> cgf
> 
> On Fri, Jan 05, 2001 at 03:38:43PM +1300, David Sainty wrote:
> >Attached is a simple patch that prevents setrlimit() failing with an error
> >when the operation would not have changed anything.  This allows all
> >resource types to be set, so long as the setting is identical to the current
> >pseudo-settings.

I have created a ChangeLog entry for now and applied the patch. So
I could apply my own patch to return correct values in case of EFAULT.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]