Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFC] Reenable compilation with cygwin 1.5 versions
Date: Wed, 03 Mar 2010 17:14:00 -0000	[thread overview]
Message-ID: <20100303171449.GQ17293@calimero.vinschen.de> (raw)
In-Reply-To: <002701cabaf2$39739ad0$ac5ad070$@muller@ics-cnrs.unistra.fr>

On Mar  3 17:54, Pierre Muller wrote:
>   Concerning the remote-fileio.c patch,
> I am not sure, but Corinna Vinschen seemed to 
> suggest that the use of PATH_MAX+1 was
> an error anyway, so maybe PATH_MAX is OK
> for both old and new cygwin versions.

The "+ 1" is not required because PATH_MAX is defined as the path length
including the trailing NUL, see
http://www.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html

On the old Cygwin versions PATH_MAX == MAX_PATH, which is also defined
including the trailing NUL, see
http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


  reply	other threads:[~2010-03-03 17:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 16:54 Pierre Muller
2010-03-03 17:14 ` Corinna Vinschen [this message]
2010-03-03 20:30 ` Christopher Faylor
2010-03-04 15:32   ` [RFC-v2] " Pierre Muller
2010-03-04 16:38     ` Christopher Faylor
2010-03-06 19:27       ` Christopher Faylor
2010-03-08 16:02         ` [RFA] " Pierre Muller
2010-03-08 22:11           ` Christopher Faylor
2010-03-08 23:15             ` Pierre Muller
2010-03-09 19:12               ` Christopher Faylor

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=20100303171449.GQ17293@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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