delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/12/12:26:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT castrop AT live DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT phx DOT gbl>
MIME-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019