diff options
author | Steve Huston <shuston@riverace.com> | 1997-06-27 18:33:05 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-06-27 18:33:05 +0000 |
commit | bf5ce9f08bc75346df5c1b0fbac5766b9f7a1f9c (patch) | |
tree | fd3499ca15c0c998a6ea844c6f429f97e3ed131d | |
parent | 8ba0e6c10aa453f09fc4fe3e1c3cef3df1c179d9 (diff) | |
download | ATCD-bf5ce9f08bc75346df5c1b0fbac5766b9f7a1f9c.tar.gz |
Changes when setting up dynamic entries to recover from failures (can't load
library, can't find symbol, etc.)
-rw-r--r-- | ace/Svc_Conf.y | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ace/Svc_Conf.y b/ace/Svc_Conf.y index f64ef1712ea..3d46c36a020 100644 --- a/ace/Svc_Conf.y +++ b/ace/Svc_Conf.y @@ -36,7 +36,11 @@ ACE_Obstack *ace_obstack; svc_config_entries : svc_config_entries svc_config_entry { - $2->apply (); delete $2; ace_obstack->release (); + if ($2 != 0) + { + $2->apply (); delete $2; + } + ace_obstack->release (); } | svc_config_entries error { @@ -59,6 +63,8 @@ dynamic { if ($2 != 0) $$ = new ACE_Dynamic_Node ($2, $3); + else + $$ = 0; } ; @@ -195,7 +201,11 @@ svc_location $$ = new ACE_Service_Record ($1, stp, $3->handle (), $4); } else - $$ = 0; + { + ++yyerrno; + delete $3; + $$ = 0; + } } ; |