From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc/testsuite] Fix read-only fileio test on GNU/Linux
Date: Mon, 26 Jan 2004 11:46:00 -0000 [thread overview]
Message-ID: <20040126114650.GA6714@cygbert.vinschen.de> (raw)
In-Reply-To: <3FF9C291.1080104@redhat.com>
On Jan 5 15:01, Andrew Cagney wrote:
> Hello,
>
> I think this deserves a "how did this ever work" award :-)
>
> The file was being created writeable (the S_IWUSR flag passed to open())
> so little wonder GNU/Linux allowed an open-write (causing the test to
> fail) and who knows how/who this worked on BSD and remote systems.
>
> Tested on BSD and GNU/Linux. Baring comment I'll commit in a day or so.
It's late but nevertheless, thanks. I compared with my original sources
from end of 2002 in which I used just S_IRUSR. I'm still wondering why
and when I added S_IWUSR before submitting this patch to FSF. Oh boy...
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
prev parent reply other threads:[~2004-01-26 11:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 20:01 Andrew Cagney
2004-01-07 16:04 ` Andrew Cagney
2004-01-26 11:46 ` Corinna Vinschen [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=20040126114650.GA6714@cygbert.vinschen.de \
--to=vinschen@redhat.com \
--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