X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:subject:date:in-reply-to
	:references:content-type:content-transfer-encoding:mime-version;
	 q=dns; s=default; b=CnSL7hbzldbIoMNWcxgRpjxfjob5rbxjmRQOynyqBke
	TVCtq8tr0bO8z43QmMlTJ9Hrbo79VulaSdzXrn8lTmk0at9Mj6JhOJyIZ7vDZl3n
	HJsIJIUBfOOnNFAh+JXtHUmj9crLqsdEJC4SOttjcGAiMRifpDj3DugSSHazWPu0
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:subject:date:in-reply-to
	:references:content-type:content-transfer-encoding:mime-version;
	 s=default; bh=4Edu+d0yklHtflYav+xqcWq5rsQ=; b=v81Dcowf836+ox8Ai
	djdnkKR2IA944tXssxeDUgQ+A6DUOqASoKZ5wTSlDS3MqOJ2N/nm29Xyob0MOJXw
	VJN/zW2gLmW0wOynGYCbZ/Jusa2QvhkUm3avWo/iv3MRcRU4w0FHG3h2onOdJjJm
	/nrVpD688gbYrUih9kQGgVSoK0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=low!, H*r:sk:BAY004-, H*F:D*live.com, H*RU:sk:BAY004-
X-HELO: BAY004-OMC1S8.hotmail.com
X-TMN: [ujNwH7sFKohPL477aJijjFQLvfXWLZ9s]
Message-ID: <BAY182-W242B879FA2D747B32D6020EA950@phx.gbl>
From: Arturo Castro <arturo.castrop@live.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: 2.3.1(0.291/5/3): MAXNAMLEN too small
Date: Tue, 12 Apr 2016 11:26:29 -0500
In-Reply-To: <BAY182-W525E43CC177990C016C944EA950@phx.gbl>
References: <BAY182-W525E43CC177990C016C944EA950@phx.gbl>
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3CGQjmt027873

Hey all,

I was compiling mg (the OpenBSD microemacs editor), and it was using MAXNAMLEN for filename completion. It had a bug because its value in Cygwin is 256 (too low!). We changed it to NAME_MAX which is 1024 and it works, but I think they should have the same value, so MAXNAMLEN should be updated to 1024, shouldn't it?

CYGWIN_NT-6.1-WOW 2.3.1(0.291/5/3) i686, on Win7-64bit.

Thanks!
 		 	   		  
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


