From 051b558dd22246ac72cccf428e4d4f6b4c1992d2 Mon Sep 17 00:00:00 2001 From: charlet Date: Tue, 8 Apr 2008 06:44:39 +0000 Subject: 2008-04-08 Thomas Quinot * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134008 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/s-os_lib.adb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/ada/s-os_lib.adb') diff --git a/gcc/ada/s-os_lib.adb b/gcc/ada/s-os_lib.adb index 7082ff0930c..3c89fd38184 100755 --- a/gcc/ada/s-os_lib.adb +++ b/gcc/ada/s-os_lib.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1995-2007, AdaCore -- +-- Copyright (C) 1995-2008, AdaCore -- -- -- -- 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- -- @@ -458,10 +458,10 @@ package body System.OS_Lib is -- Copy attributes C_From (1 .. Name'Length) := Name; - C_From (C_From'Last) := ASCII.Nul; + C_From (C_From'Last) := ASCII.NUL; C_To (1 .. To_Name'Length) := To_Name; - C_To (C_To'Last) := ASCII.Nul; + C_To (C_To'Last) := ASCII.NUL; case Preserve is @@ -1622,10 +1622,10 @@ package body System.OS_Lib is -- If null terminated string, put the quote before - if Res (J) = ASCII.Nul then + if Res (J) = ASCII.NUL then Res (J) := '"'; J := J + 1; - Res (J) := ASCII.Nul; + Res (J) := ASCII.NUL; -- If argument is terminated by '\', then double it. Otherwise -- the ending quote will be taken as-is. This is quite strange -- cgit v1.2.1