[PATCH]: Compile cleanly under Cygwin
Corinna Vinschen
vinschen at redhat.com
Sat Dec 23 03:23:06 EST 2000
On Friday 22 December 2000 08:35, Gert Doering wrote:
> Hi,
>
> On Fri, Dec 22, 2000 at 02:52:31AM +0100, Kevin Steves wrote:
> > On Thu, 21 Dec 2000, Corinna Vinschen wrote:
> > : the attached patch is relative to the current CVS content. It's
> > : needed to build and compile cleanly under Cygwin. The problem are
> > : the functions setrlimit/getrlimit. I have added checks for
> > : getrlimit, sysconf and setdtablesize to configure.in and
> > : appropriate checks in the source code.
> >
> > how are hard vs. soft limits handled in the absense of
> > [gs]etrlimit()?
>
> On SCO 3.0, all you have is ulimit(), and all you can do with it is
> to read/set the maximum file size (UL_GET/SETFSIZE).
And on Cygwin it's more or less the same. There doesn't exist any
hard limit or at least can't be inquired. I know that fdlim_set
isn't called under these circumstances but I think it's not that
clean to patch only one function and simply assume that the calling
function will never change it's behaviour.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list