[Libreoffice-commits] .: desktop/unx
Michael Meeks
michael at kemper.freedesktop.org
Tue Nov 8 08:03:32 PST 2011
desktop/unx/source/start.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit aacf55dbe004ae3cad720002d40dc0e408107fd3
Author: Michael Meeks <michael.meeks at suse.com>
Date: Tue Nov 8 11:32:20 2011 +0000
oosplash - daemonize to help mutt users recover their sanity
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index cd95d45..d627131 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -881,6 +881,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
splash_destroy(splash);
splash = NULL;
bShortWait = sal_False;
+
+ /* Since a client can't distinguish between a first-start and
+ a factory re-use, we return control to them here. */
+ daemon( 1 /* don't chdir */, 1 /* don't re-direct output */ );
}
#if OSL_DEBUG_LEVEL > 1
More information about the Libreoffice-commits
mailing list