Module Name:    src
Committed By:   christos
Date:           Sun Aug 29 08:41:57 UTC 2021

Modified Files:
        src/external/gpl3/gcc/dist/libcpp: files.c

Log Message:
Add missing parentheses around ternary operator (Etienne Brateau, via
Damien Zammit)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/dist/libcpp/files.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libcpp/files.c
diff -u src/external/gpl3/gcc/dist/libcpp/files.c:1.14 src/external/gpl3/gcc/dist/libcpp/files.c:1.15
--- src/external/gpl3/gcc/dist/libcpp/files.c:1.14	Sat Apr 10 20:02:18 2021
+++ src/external/gpl3/gcc/dist/libcpp/files.c	Sun Aug 29 04:41:57 2021
@@ -233,7 +233,7 @@ open_file (_cpp_file *file)
     }
   else
     file->fd = open (file->path, O_RDONLY | O_NOCTTY | O_BINARY
-		     | (cpp_restricted != NULL) ? O_NONBLOCK : 0, 0666);
+		     | ((cpp_restricted != NULL) ? O_NONBLOCK : 0), 0666);
 
 
   if (file->fd != -1)

Reply via email to