OSDN Git Service

2006-10-31 Vincent Celier <celier@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:12:34 +0000 (18:12 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:12:34 +0000 (18:12 +0000)
* a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed
in file names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118321 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/a-dirval-vms.adb

index 9948ea2..e0321c7 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B o d y                                  --
 --                              (VMS Version)                               --
 --                                                                          --
---          Copyright (C) 2004-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 2004-2006 Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -42,6 +42,7 @@ package body Ada.Directories.Validity is
    Invalid_Character : constant array (Character) of Boolean :=
                          ('a' .. 'z' => False,
                           'A' .. 'Z' => False,
+                          '0' .. '9' => False,
                           '_' | '$' | '-' | '.' => False,
                           others => True);