public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
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 16:26:00 -0000	[thread overview]
Message-ID: <BAY182-W242B879FA2D747B32D6020EA950@phx.gbl> (raw)
In-Reply-To: <BAY182-W525E43CC177990C016C944EA950@phx.gbl>

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

       reply	other threads:[~2016-04-12 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY182-W525E43CC177990C016C944EA950@phx.gbl>
2016-04-12 16:26 ` Arturo Castro [this message]
2016-04-12 20:17   ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY182-W242B879FA2D747B32D6020EA950@phx.gbl \
    --to=arturo.castrop@live.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).