From: Alan Hayward <Alan.Hayward@arm.com>
To: Pedro Alves <palves@redhat.com>
Cc: Tom Tromey <tom@tromey.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
nd <nd@arm.com>
Subject: Re: [PATCH] Testsuite: Ensure changing directory does not break the log file
Date: Fri, 22 Feb 2019 17:10:00 -0000 [thread overview]
Message-ID: <CCF4D25B-ADD6-4D6B-A40F-C3EF2B9EA653@arm.com> (raw)
In-Reply-To: <cd66e19e-3893-a685-97b6-4fc45c761434@redhat.com>
> On 22 Feb 2019, at 14:21, Pedro Alves <palves@redhat.com> wrote:
>
> On 02/22/2019 12:36 PM, Alan Hayward wrote:
>> +# Safe version of cd that ensures the log file is not stopped.
>
> This comment seems unclear to me, if you don't consider the email context.
>
> What does it mean to "stop a file", for instance?
>
> How about:
>
> # Override the 'cd' builtin with a version that ensures that the
> # log file keeps pointing at the same file. We need this because
> # unfortunately the path to the log file is recorded using an
> # relative path name, and, we sometimes need to close/reopen the log
> # after changing the current directory. See get_compiler_info.
>
Ok, I’m happy with switching to that. I wanted to keep the comment a
little more generic, but agreed it makes more sense this way.
Alan.
prev parent reply other threads:[~2019-02-22 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 10:34 Alan Hayward
2019-02-21 22:40 ` Tom Tromey
2019-02-22 12:36 ` Alan Hayward
2019-02-22 14:21 ` Pedro Alves
2019-02-22 17:10 ` Alan Hayward [this message]
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=CCF4D25B-ADD6-4D6B-A40F-C3EF2B9EA653@arm.com \
--to=alan.hayward@arm.com \
--cc=gdb-patches@sourceware.org \
--cc=nd@arm.com \
--cc=palves@redhat.com \
--cc=tom@tromey.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