http://bugzilla.novell.com/show_bug.cgi?id=1018908
http://bugzilla.novell.com/show_bug.cgi?id=1018908#c8
--- Comment #8 from Richard Palethorpe ---
Well, I think I now know the change which stopped the test from passing, from
the same file with fresetlockfiles():
56290d6e762c1194547e73ff0b948cd79d3a1e03
Author: Florian Weimer
Increase fork signal safety for single-threaded processes [BZ #19703]
...
- /* Release malloc locks. */
- __malloc_fork_unlock_child ();
+ /* Reset the lock state in the multi-threaded case. */
+ if (multiple_threads)
+ {
+ /* Release malloc locks. */
+ __malloc_fork_unlock_child ();
- /* Reset the file list. These are recursive mutexes. */
- fresetlockfiles ();
+ /* Reset the file list. These are recursive mutexes. */
The test only uses a single thread in the parent. I am inclined to think that
the test is wrong, but also to ask glibc and maybe POSIX for clarification. The
documentation should also be updated to remove ambiguity in my opinion.
--
You are receiving this mail because:
You are on the CC list for the bug.