[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-commits
Subject: Re: [cfe-commits] r140409 - in /cfe/trunk: docs/tools/clang.pod
From: Chandler Carruth <chandlerc () google ! com>
Date: 2011-09-30 21:45:14
Message-ID: CAGCO0KgOPsFf1cB_1KMAVjg5_yv7+utfYUCR6+zNevytr2N2uw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Fri, Sep 30, 2011 at 2:39 PM, Daniel Dunbar <daniel@zuster.org> wrote:
> >> (b) the driver will have to do something to honor that option when it
> >> is calling out to other processes (like the linker), or be able to
> >> adjust paths.
> >
> > I think it's entirely reasonable to temporarily chdir() when calling
> those other processes.
>
> I wouldn't want to do that, I would rather use a stub to do the
> directory change if necessary. If we are going to get that close to
> being working-directory agnostic, might as well go the full way.
Just to be clear, I think doing a chdir after a fork is entirely reasonable.
Any stub you write will just do the same thing.
[Attachment #5 (text/html)]
<div class="gmail_quote">On Fri, Sep 30, 2011 at 2:39 PM, Daniel Dunbar <span \
dir="ltr"><<a href="mailto:daniel@zuster.org">daniel@zuster.org</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div class="im">>> (b) the driver will have to \
do something to honor that option when it<br> >> is calling out to other \
processes (like the linker), or be able to<br> >> adjust paths.<br>
><br>
> I think it's entirely reasonable to temporarily chdir() when calling those \
other processes.<br> <br>
</div>I wouldn't want to do that, I would rather use a stub to do the<br>
directory change if necessary. If we are going to get that close to<br>
being working-directory agnostic, might as well go the full \
way.</blockquote></div><br><div>Just to be clear, I think doing a chdir after a fork \
is entirely reasonable. Any stub you write will just do the same thing.</div>
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic