bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20594] allow ./configure to choose default arg size limit


From: James Youngman
Subject: [bug #20594] allow ./configure to choose default arg size limit
Date: Thu, 26 Jul 2007 19:00:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-2)

Follow-up Comment #1, bug #20594 (project findutils):

I don't think this is the correct solution.  

I would expect that the correct solution is for sysconf(_SC_ARG_MAX) to
return 32K on the affected system, dspite the fact that there are
circumstances where larger command lines will work.   (I concede that this is
probably a QOI issue and that POSIX appears not to forbid what the Cygwin
implementation is currently doing).

Making the change in configure means that the user compiling the software
needs to know about this implementation limit.  It seems to me that it is the
job of the implementation to tell the application what the relevant limits
are.

Longer term, the changes that Leslie Polzer is working on shoud allow
findutils to automatically deduce that the correct limit is 32K, even if it
had earlier assumed that it was 128K.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20594>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]