On Fri, Jun 29, 2001 at 03:49:01PM -0500, Marcus Brinkmann wrote:
> Hi,
> 
> io/fts.c has a MAXPATHLEN issue.
> The Debian glibc build of 2.2.3-6 (CVS 6-9-2001) fails because
> of that.
> 
> Sorry, no more info as I can't send mail from my local machine
> right now.

This is the relevant code snipet from the source of 2.2.3-5:

  /*
   * Start out with 1K of path space, and enough, in any case,
   * to hold the user's paths.
   */
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
  if (fts_palloc(sp, MAX(fts_maxarglen(argv), MAXPATHLEN)))
    goto mem1;

First of all this shouldn't fail whether MAXPATHLEN is defined or not.
I think the macro is misnamed, from the code it looks like it should
be called MINPATHLEN.

Igor

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to