[Libreoffice-commits] .: sal/osl
Michael Meeks
michael at kemper.freedesktop.org
Wed Nov 23 07:30:30 PST 2011
sal/osl/unx/system.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit f1ef1ed6900fa2caf7c5997e8b764c3f82c0a125
Author: Michael Meeks <michael.meeks at suse.com>
Date: Wed Nov 23 15:30:06 2011 +0000
version information from Arnaud on deprecating the getpid workaround.
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c
index 4041edb..478fdaf 100644
--- a/sal/osl/unx/system.c
+++ b/sal/osl/unx/system.c
@@ -205,6 +205,10 @@ int macxp_resolveAlias(char *path, int buflen)
/* The linux kernel thread implemention, always return the pid of the
thread subprocess and not of the main process. So we save the main
pid at startup
+ FIXME: when our Linux base-line is above:
+ + Linux kernel version 2.6.18 or higher; -> clone() for NTPL
+ + glibc2 version 2.5 or higher; -> NPTL
+ Then we get a working getpid() and can remove this hack.
*/
// Directly from libc.so.6, obviously missing from some unistd.h:
More information about the Libreoffice-commits
mailing list