Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Cygwin Mailing List" Subject: PATH_MAX and FILENAME_MAX Date: Fri, 26 Jan 2001 13:04:43 +0300 Message-ID: <000001c0877f$67915cf0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Note-from-DJ: This may be spam Doing something different, this caught my eyes: $ grep PATH_MAX /usr/include/*.h /usr/include/limits.h:#define PATH_MAX (260 - 1 /*NUL*/) /usr/include/limits.h:#define _POSIX_PATH_MAX 255 /usr/include/stdio.h:#define FILENAME_MAX 1024 /* must be <= PATH_MAX */ /usr/include/stdio.h:#define L_tmpnam 1024 /* XXX must be == PATH_MAX */ So are comments misleading or FILENAME_MAX (and L_tmpnam) should be changed? -andrej Have a nice DOS! B >> -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple