• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修订版1510d83869e05a784ef9ac3fb7dc3084e473d6c8 (tree)
时间2005-06-08 09:04:04
作者Mark Mitchell <mark@code...>
CommiterMark Mitchell

Log Message

        • opncls.c (bfd_fdopenr): Add missing break statements.

更改概述

差异

--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -280,9 +280,9 @@ bfd_fdopenr (const char *filename, const char *target, int fd)
280280 /* (O_ACCMODE) parens are to avoid Ultrix header file bug. */
281281 switch (fdflags & (O_ACCMODE))
282282 {
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;
286286 default: abort ();
287287 }
288288 #endif