This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] another fix for unicode support on Windows


Manually tested on i686-mingw
Tested on i686-linux, committed on trunk

This is another fix for the unicode support on Windows. The _gnat_mkdir
routine was missed in the previous patch for supporting UTF-8.
The following program must run silently under windows.
--
with Ada.Directories; use Ada.Directories;
with Ada.Text_IO;     use Ada.Text_IO;
procedure U is
   Name : constant String := "Färbl";
begin
   Create_Directory (Name);
   if not Exists (Name) then
      Put_Line ("Error!");
   end if;
end U;

2007-06-06  Pascal Obry  <obry@adacore.com>

	* mkdir.c (__gnat_mkdir): Add support for UTF-8.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]