Subject: Re: [libssh2] introducing maketgz

Re: [libssh2] introducing maketgz

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 21 Jul 2007 10:07:03 -0700

On Sat, Jul 21, 2007 at 03:03:22PM +0200, Daniel Stenberg wrote:
> But I thought some more about this problem and I think we should rather not
> introduce a new function but instead do two things:
>
> 1) for pre-C99 compilers we set a fixed max amount of file descriptors (like
> 256 or so)

How about using alloca(3) where available? That would give the best of
both worlds (dynamic sizing and better portability).

> 2) for C99 compilers we use the existing method

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-21