summaryrefslogtreecommitdiff
path: root/gcc/ada/s-os_lib.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-13 10:43:51 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-13 10:43:51 +0000
commitb06d1bc32090ab9e34e09bd23112db3d84d1b6f8 (patch)
treec38fb30d974e308adfd91250aa0581785dc69182 /gcc/ada/s-os_lib.ads
parent7af7059aa2972cf1c33e684cc3fadae6813c3467 (diff)
downloadgcc-b06d1bc32090ab9e34e09bd23112db3d84d1b6f8.tar.gz
2007-12-06 Emmanuel Briot <briot@adacore.com>
* s-os_lib.ads, s-os_lib.adb (Normalize_Pathname): Do not compute Reference_Dir unless we actually need it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-os_lib.ads')
-rwxr-xr-xgcc/ada/s-os_lib.ads7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/s-os_lib.ads b/gcc/ada/s-os_lib.ads
index bde73fdc616..e3c1079df19 100755
--- a/gcc/ada/s-os_lib.ads
+++ b/gcc/ada/s-os_lib.ads
@@ -507,6 +507,7 @@ package System.OS_Lib is
-- directories listed in the environment Path. If the Exec_Name doesn't
-- have the executable suffix, it will be appended before the search.
-- Otherwise works like Locate_Regular_File below.
+ -- If the executable is not found, null is returned.
--
-- Note that this function allocates some memory for the returned value.
-- This memory needs to be deallocated after use.
@@ -654,9 +655,9 @@ package System.OS_Lib is
-- (notably Unix systems) a simple file name may also work (if the
-- executable can be located in the path).
--
- -- "Spawn" should not be used in tasking applications. Why not??? More
- -- documentation would be helpful here ??? Is it really tasking programs,
- -- or tasking activity that cause trouble ???
+ -- "Spawn" should be avoided in tasking applications, since there are
+ -- subtle interactions between creating a process and signals/locks
+ -- that can cause troubles.
--
-- Note: Arguments in Args that contain spaces and/or quotes such as
-- "--GCC=gcc -v" or "--GCC=""gcc -v""" are not portable across all