projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f679ed6
)
Link to the right glibc commit in comment (#6884)
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 21 Sep 2017 18:54:16 +0000
(20:54 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Sep 2017 18:54:16 +0000
(20:54 +0200)
Reported by Marcos Mello.
Fixes #6882.
src/basic/process-util.c
patch
|
blob
|
history
diff --git
a/src/basic/process-util.c
b/src/basic/process-util.c
index 9d0154117bc315468173bb1705a97d602b6fb67d..b77d83c99f639bbbd0598953a3ff3cabebd02c96 100644
(file)
--- a/
src/basic/process-util.c
+++ b/
src/basic/process-util.c
@@
-1023,7
+1023,7
@@
pid_t getpid_cached(void) {
* objects were used across fork()s. With this caching the old behaviour is somewhat restored.
*
* https://bugzilla.redhat.com/show_bug.cgi?id=1443976
- * https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=
1d2bc2eae969543b89850e35e532f3144122d80a
+ * https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=
c579f48edba88380635ab98cb612030e3ed8691e
*/
current_value = __sync_val_compare_and_swap(&cached_pid, CACHED_PID_UNSET, CACHED_PID_BUSY);