Danek Duvall wrote:
This just turns off setting up the signal handler unless we know that we're going to be getting into that situation. It's enough to make an import to a file: URL work consistently, though I'm sure there are other times we could turn off the signal handler, too.Danek diff --git a/src/modules/server/catalog.py b/src/modules/server/catalog.py --- a/src/modules/server/catalog.py +++ b/src/modules/server/catalog.py @@ -68,7 +68,7 @@ class ServerCatalog(catalog.Catalog): # time. self.searchdb_update_handle_lock = threading.Lock()- if os.name == 'posix':+ if os.name == 'posix' and self.fork_allowed: try: signal.signal(signal.SIGCHLD, self.child_handler) _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
LGTM Brock _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
