OSDN Git Service

2007-04-20 Vincent Celier <celier@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-dirval-vms.adb
index 089f7cd..e0321c7 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B o d y                                  --
 --                              (VMS Version)                               --
 --                                                                          --
---          Copyright (C) 2004 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);
 
@@ -180,4 +181,13 @@ package body Ada.Directories.Validity is
       return True;
    end Is_Valid_Simple_Name;
 
+   -------------
+   -- OpenVMS --
+   -------------
+
+   function OpenVMS return Boolean is
+   begin
+      return True;
+   end OpenVMS;
+
 end Ada.Directories.Validity;