2001-01-14 Alan Modra <alan@linuxcare.com.au>
+ * opncls.c (bfd_fdopenr): Add parens like the comment says around
+ O_ACCMODE.
+
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
.plt entries for DT_INIT and DT_FINI.
(elf32_hppa_finish_dynamic_sections): Remove special handling of
/* opncls.c -- open and close a BFD.
- Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997
+ Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997, 2001
Free Software Foundation, Inc.
Written by Cygnus Support.
be written through, although doing so requires that we end
the previous clause with a preposition. */
/* (O_ACCMODE) parens are to avoid Ultrix header file bug */
- switch (fdflags & O_ACCMODE)
+ switch (fdflags & (O_ACCMODE))
{
case O_RDONLY: nbfd->direction = read_direction; break;
case O_WRONLY: nbfd->direction = write_direction; break;