* adaint.c (__gnat_is_read_accessible_file): Add parentheses.
(__gnat_is_write_accessible_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238204
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-07-11 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/71817
+ * adaint.c (__gnat_is_read_accessible_file): Add parentheses.
+ (__gnat_is_write_accessible_file): Likewise.
+
2016-07-07 Ed Schonberg <schonberg@adacore.com>
* exp_ch6.adb (Expand_Internal_Init_Call): Subsidiary procedure
#elif defined (__vxworks)
int fd;
- if (fd = open (name, O_RDONLY, 0) < 0)
+ if ((fd = open (name, O_RDONLY, 0)) < 0)
return 0;
close (fd);
return 1;
#elif defined (__vxworks)
int fd;
- if (fd = open (name, O_WRONLY, 0) < 0)
+ if ((fd = open (name, O_WRONLY, 0)) < 0)
return 0;
close (fd);
return 1;