Prechádzať zdrojové kódy

Fix POA servant manager

Michael Schloh von Bennewitz 23 rokov pred
rodič
commit
a1e7cf20b1
2 zmenil súbory, kde vykonal 15 pridanie a 1 odobranie
  1. 14 0
      mico/mico.patch
  2. 1 1
      mico/mico.spec

+ 14 - 0
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
+  
+   /*

+ 1 - 1
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