diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-11-30 17:16:55 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-11-30 17:16:55 +0100 |
commit | 968676741a3482f53d35d1c64787d58d70889da8 (patch) | |
tree | 9d34ffd54ee9a2be41640e14b0c888afe283d912 /gcc/ada/adaint.h | |
parent | 3acdda2df1a74e1976268366f9f1abda979a6e7b (diff) | |
download | gcc-968676741a3482f53d35d1c64787d58d70889da8.tar.gz |
[multiple changes]
2009-11-30 Ed Schonberg <schonberg@adacore.com>
* par_sco.adb (Traverse_Handled_Statement_Sequence): Do not emit SCO's
for null statements that do not come from source.
* sinfo.ads: Clarify documentation of Comes_From_Source
2009-11-30 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Add_Source): Use Display_Name for both projects when
displaying the paths in error message.
2009-11-30 Emmanuel Briot <briot@adacore.com>
* adaint.h, adaint.c (file_attributes): force the use of unsigned char.
On some platforms, "char" is signed, on others unsigned, so we
explicitly specify the one we expect
From-SVN: r154826
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 41b6357656f..7af079e35a9 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -74,15 +74,15 @@ typedef long OS_Time; */ struct file_attributes { - char exists; + unsigned char exists; - char writable; - char readable; - char executable; + unsigned char writable; + unsigned char readable; + unsigned char executable; - char symbolic_link; - char regular; - char directory; + unsigned char symbolic_link; + unsigned char regular; + unsigned char directory; OS_Time timestamp; long file_length; |