public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] drop MAXPATHLEN dependency from gcc/tlink.c
Date: Wed, 01 Aug 2007 01:39:00 -0000	[thread overview]
Message-ID: <m38x8wm3u7.fsf@localhost.localdomain> (raw)
In-Reply-To: <20070724203941.GE3700@interface.famille.thibault.fr>

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> Some systems don't define MAXPATHLEN because they don't have such hard
> limit.  Here is a patch against gcc/tlink.c to take benefit of this.
> 
> Samuel
> 
> 2007-07-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>
> 
> 	* gcc/tlink.c (initial_cwd): Change type into char*.
> 	(tlink_init): Add loop to dynamically allocate initial_cwd as needed.

Just call getpwd instead.

Thanks.

Ian

  reply	other threads:[~2007-08-01  1:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 21:19 Samuel Thibault
2007-08-01  1:39 ` Ian Lance Taylor [this message]
2007-08-01 21:03   ` Samuel Thibault
2007-08-04 21:20     ` Samuel Thibault
2007-08-08 14:01     ` Ian Lance Taylor
2007-08-08 14:13       ` Samuel Thibault
2007-08-08 14:25         ` Ian Lance Taylor
2007-08-13 20:57           ` Samuel Thibault

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=m38x8wm3u7.fsf@localhost.localdomain \
    --to=iant@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=samuel.thibault@ens-lyon.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).