GNU Binutils with patches for OS216
Révision | 1510d83869e05a784ef9ac3fb7dc3084e473d6c8 (tree) |
---|---|
l'heure | 2005-06-08 09:04:04 |
Auteur | Mark Mitchell <mark@code...> |
Commiter | Mark Mitchell |
@@ -280,9 +280,9 @@ bfd_fdopenr (const char *filename, const char *target, int fd) | ||
280 | 280 | /* (O_ACCMODE) parens are to avoid Ultrix header file bug. */ |
281 | 281 | switch (fdflags & (O_ACCMODE)) |
282 | 282 | { |
283 | - case O_RDONLY: mode = FOPEN_RB; | |
284 | - case O_WRONLY: mode = FOPEN_RUB; | |
285 | - case O_RDWR: mode = FOPEN_RUB; | |
283 | + case O_RDONLY: mode = FOPEN_RB; break; | |
284 | + case O_WRONLY: mode = FOPEN_RUB; break; | |
285 | + case O_RDWR: mode = FOPEN_RUB; break; | |
286 | 286 | default: abort (); |
287 | 287 | } |
288 | 288 | #endif |