summaryrefslogtreecommitdiff
path: root/gcc/ada/s-os_lib.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-19 14:42:55 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-19 14:42:55 +0000
commitb9b03799fa559d095373088ebbda65a51bd8fbc2 (patch)
treedb05e0d932e454a1ab80237bc41440687641aed3 /gcc/ada/s-os_lib.adb
parent9698629c615b86f72ec800c3e33a1672bebd549d (diff)
downloadgcc-b9b03799fa559d095373088ebbda65a51bd8fbc2.tar.gz
2014-02-19 Ed Schonberg <schonberg@adacore.com>
* sem_prag.adb (Check_Arg_Is_Local_Name): For an aspect that applies to a subprogram body, the name is the current scope, rather than being declared in the current scope. (Analyze_Pragma, case No_Return): Handle properly a No_Return aspect applied to a subprogram body. 2014-02-19 Ed Schonberg <schonberg@adacore.com> * sem_ch13.adb (Resolve_Iterable_Operation): Improve resolution of overloaded subprograms, and fix bug in handling of primitive operation Element. 2014-02-19 Pascal Obry <obry@adacore.com> * s-os_lib.adb: Minor reformatting. 2014-02-19 Yannick Moy <moy@adacore.com> * expander.adb (Expand): Do nothing inside generics. * sem_aggr.adb (Aggregate_Constraint_Checks): Do nothing inside generics. 2014-02-19 Yannick Moy <moy@adacore.com> * exp_ch2.adb: Remove useless 'with' of unit Uintp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-os_lib.adb')
-rw-r--r--gcc/ada/s-os_lib.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/s-os_lib.adb b/gcc/ada/s-os_lib.adb
index dc51fa17716..fa44b528833 100644
--- a/gcc/ada/s-os_lib.adb
+++ b/gcc/ada/s-os_lib.adb
@@ -2643,11 +2643,11 @@ package body System.OS_Lib is
end loop;
if Blocking then
- Pid := Invalid_Pid;
- Result := Portable_Spawn (Arg_List'Address);
+ Pid := Invalid_Pid;
+ Result := Portable_Spawn (Arg_List'Address);
else
- Pid := Portable_No_Block_Spawn (Arg_List'Address);
- Result := Boolean'Pos (Pid /= Invalid_Pid);
+ Pid := Portable_No_Block_Spawn (Arg_List'Address);
+ Result := Boolean'Pos (Pid /= Invalid_Pid);
end if;
end Spawn;