a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names.
authorVincent Celier <celier@adacore.com>
Tue, 31 Oct 2006 18:12:34 +0000 (19:12 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:12:34 +0000 (19:12 +0100)
2006-10-31  Vincent Celier  <celier@adacore.com>

* a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed
in file names.

From-SVN: r118321

gcc/ada/a-dirval-vms.adb

index 9948ea2348c069ec4a215cfec271afd881beab38..e0321c7d0bf80bf0114a1f7cdd59f14b69ff5577 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);