[PATCH, libgfortran] Fix for PR 18982
Thomas Koenig
Thomas.Koenig@online.de
Thu Jan 13 22:07:00 GMT 2005
On Thu, Jan 13, 2005 at 12:03:24AM +0100, Steven Bosscher wrote:
> Why is the logical not (the '!') still there if you say "instead"?
Because I messed up the patch in regenerating it, what I meant the
code to look like this:
if (fd < 0)
{
rwflag &= ~(!O_RDWR | O_RDONLY);
fd = open (path, rwflag, mode);
if (fd < 0)
{
rwflag &= ~(O_RDONLY | O_WRONLY);
fd = open (path, rwflag, mode);
if (fd < 0)
This patch is does not fix all what's wrong wit that code, though.
For more details, see the PR.
More information about the Fortran
mailing list