aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-regist.adb
diff options
context:
space:
mode:
authorThomas Quinot <quinot@adacore.com>2008-04-08 08:44:39 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2008-04-08 08:44:39 +0200
commit43c6e0cb2115c752aaa0d7dbc9f04587cb43f350 (patch)
tree1cd07ea7df0ca9424be5c1aeeb3c449637cf1100 /gcc/ada/g-regist.adb
parent9df6385a0c162f4acf1b932944d7f5cb86a8b209 (diff)
downloadgcc-43c6e0cb2115c752aaa0d7dbc9f04587cb43f350.zip
gcc-43c6e0cb2115c752aaa0d7dbc9f04587cb43f350.tar.gz
gcc-43c6e0cb2115c752aaa0d7dbc9f04587cb43f350.tar.bz2
g-expect-vms.adb, [...]: Fix incorrect casing of ASCII.NUL throughout.
2008-04-08 Thomas Quinot <quinot@adacore.com> * g-expect-vms.adb, a-textio.adb, a-witeio.adb, exp_dbug.adb, g-expect.adb, g-locfil.adb, gnatchop.adb, gnatdll.adb, gnatlbr.adb, gnatmem.adb, g-regist.adb, i-vxwork.ads, mlib-utl.adb, i-vxwork-x86.ads, a-ztexio.adb, g-enblsp-vms-alpha.adb, g-enblsp-vms-ia64.adb, s-os_lib.adb, s-regpat.adb, s-regpat.ads: Fix incorrect casing of ASCII.NUL throughout. From-SVN: r134008
Diffstat (limited to 'gcc/ada/g-regist.adb')
-rw-r--r--gcc/ada/g-regist.adb18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ada/g-regist.adb b/gcc/ada/g-regist.adb
index 8eaa408..0319ff6 100644
--- a/gcc/ada/g-regist.adb
+++ b/gcc/ada/g-regist.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2001-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2008, 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- --
@@ -184,8 +184,8 @@ package body GNAT.Registry is
REG_OPTION_NON_VOLATILE : constant := 16#0#;
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
- C_Class : constant String := "" & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
+ C_Class : constant String := "" & ASCII.NUL;
C_Mode : constant REGSAM := To_C_Mode (Mode);
New_Key : aliased HKEY;
@@ -214,7 +214,7 @@ package body GNAT.Registry is
----------------
procedure Delete_Key (From_Key : HKEY; Sub_Key : String) is
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
Result : LONG;
begin
Result := RegDeleteKey (From_Key, C_Sub_Key (C_Sub_Key'First)'Address);
@@ -226,7 +226,7 @@ package body GNAT.Registry is
------------------
procedure Delete_Value (From_Key : HKEY; Sub_Key : String) is
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
Result : LONG;
begin
Result := RegDeleteValue (From_Key, C_Sub_Key (C_Sub_Key'First)'Address);
@@ -339,7 +339,7 @@ package body GNAT.Registry is
is
use type REGSAM;
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
C_Mode : constant REGSAM := To_C_Mode (Mode);
New_Key : aliased HKEY;
@@ -377,7 +377,7 @@ package body GNAT.Registry is
Size_Value : aliased ULONG;
Type_Value : aliased DWORD;
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
Result : LONG;
begin
@@ -412,8 +412,8 @@ package body GNAT.Registry is
Value : String;
Expand : Boolean := False)
is
- C_Sub_Key : constant String := Sub_Key & ASCII.Nul;
- C_Value : constant String := Value & ASCII.Nul;
+ C_Sub_Key : constant String := Sub_Key & ASCII.NUL;
+ C_Value : constant String := Value & ASCII.NUL;
Value_Type : DWORD;
Result : LONG;