Browse Source

Fix POA servant manager

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
a1e7cf20b1
  1. 14
      mico/mico.patch
  2. 2
      mico/mico.spec

14
mico/mico.patch

@ -10,3 +10,17 @@ diff -Naur mico.orig/Makefile mico/Makefile
install-cd:
for i in $(INSTALLDIRS); do $(MAKE) -C $$i install-cd || exit 1; done
diff -Naur mico.orig/orb/poa_impl.cc mico/orb/poa_impl.cc
--- mico.orig/orb/poa_impl.cc.orig Sat Feb 22 23:20:22 2003
+++ mico/orb/poa_impl.cc Sat Feb 22 23:20:55 2003
@@ -3768,7 +3768,9 @@
// we are finished
//this make sure nobody is going to remove the object
- orec->invoke_cnt++;
+ if (servant_retention_policy->value() == PortableServer::RETAIN) {
+ orec->invoke_cnt++;
+ }
} // end autolock
/*

2
mico/mico.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
Group: System
License: LGPL/GPL
Version: 2.3.9
Release: 20030214
Release: 20030224
# package options
%option with_ssl no

Loading…
Cancel
Save