From: Vincent Celier Date: Tue, 31 Oct 2006 18:12:34 +0000 (+0100) Subject: a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=271ae089f369707a933bde440cf10290979a517f;p=gcc.git a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names. 2006-10-31 Vincent Celier * a-dirval-vms.adb (Invalid_Character): Specify that digits are allowed in file names. From-SVN: r118321 --- diff --git a/gcc/ada/a-dirval-vms.adb b/gcc/ada/a-dirval-vms.adb index 9948ea2348c..e0321c7d0bf 100644 --- a/gcc/ada/a-dirval-vms.adb +++ b/gcc/ada/a-dirval-vms.adb @@ -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);