re PR ada/29856 (broken if..else in gcc/ada/adaint.c)
authorPascal Obry <obry@adacore.com>
Wed, 2 May 2007 08:43:30 +0000 (08:43 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 2 May 2007 08:43:30 +0000 (10:43 +0200)
commitd7598e110d060f8b7fb6598736f68700b20c400f
treea90e9a876adb1767b44b61c579a73fec97fa0c8e
parent9a60b02d977835f3e7c132c529380e89821c0405
re PR ada/29856 (broken if..else in gcc/ada/adaint.c)

2007-04-20  Pascal Obry  <obry@adacore.com>

* gnatchop.adb (Write_Source_Reference_Pragma): Change implementation
to use Stream_IO.File_Type. This is needed to make use of the UTF-8
encoding support of Stream_IO.
(Write_Unit): Idem.

* adaint.h, adaint.c (__gnat_os_filename): New routine. Returns the
filename and corresponding encoding to match the OS requirement.
(__gnat_file_exists): Do not call __gnat_stat() on Windows as this
routine will fail on specific devices like CON: AUX: ...

PR ada/29856: Add missing braces

From-SVN: r124347
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/adaint.h
gcc/ada/gnatchop.adb