From: "Eli Zaretskii" <eliz@is.elta.co.il>
To: brobecker@ACT-Europe.FR
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Should openp open directories?
Date: Fri, 19 Apr 2002 02:54:00 -0000 [thread overview]
Message-ID: <6097-Fri19Apr2002124608+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <20020419111807.A7903@act-europe.fr> (message from Joel Brobecker on Fri, 19 Apr 2002 11:18:07 +0200)
> Date: Fri, 19 Apr 2002 11:18:07 +0200
> From: Joel Brobecker <brobecker@ACT-Europe.FR>
>
> It seems a sensible idea to return True when stat fails, except when the
> file does not exist.
This is okay with me (non-existing files will fail the open call
anyhow).
> > Also, did you try your patch when there's a directory by that name, but
> > no executable program? If so, what does the patched GDB say and/or do?
>
> Yes. I tried "./gdb/gdb bfd" at the root of the gdb source directory and
> got the following error message:
>
> bfd: No such file or directory.
That's good. Thanks for testing.
> The "or directory" part may be confusing...
Yes, but it's a standard string associated with ENOENT, so I guess
users of GDB should be acquainted with it.
next prev parent reply other threads:[~2002-04-19 9:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-18 3:25 Joel Brobecker
2002-04-18 8:17 ` Eli Zaretskii
2002-04-19 2:18 ` Joel Brobecker
2002-04-19 2:54 ` Eli Zaretskii [this message]
2002-04-22 4:00 ` Joel Brobecker
2002-04-22 11:33 ` Eli Zaretskii
2002-04-23 4:09 ` Joel Brobecker
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=6097-Fri19Apr2002124608+0300-eliz@is.elta.co.il \
--to=eliz@is.elta.co.il \
--cc=brobecker@ACT-Europe.FR \
--cc=gdb-patches@sources.redhat.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