r5734 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibault
Date: 2013-10-13 21:14:21 +0000 (Sun, 13 Oct 2013)
New Revision: 5734
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/hurd-i386/tg-tls.diff
Log:
* patches/hurd-i386/tg-tls.diff: Fix getting LDT on fork.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2013-10-13 19:26:34 UTC (rev 5733)
+++ glibc-package/trunk/debian/changelog 2013-10-13 21:14:21 UTC (rev 5734)
@@ -7,6 +7,7 @@
(Closes: #724681)
* patches/hurd-i386/libpthread_stubs.diff: Drop stub for pthread_atfork, now
implemented.
+ * patches/hurd-i386/tg-tls.diff: Fix getting LDT on fork.
-- Adam Conrad <adconrad@0c3.net> Sun, 22 Sep 2013 23:39:33 -0600
Modified: glibc-package/trunk/debian/patches/hurd-i386/tg-tls.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/tg-tls.diff 2013-10-13 19:26:34 UTC (rev 5733)
+++ glibc-package/trunk/debian/patches/hurd-i386/tg-tls.diff 2013-10-13 21:14:21 UTC (rev 5734)
@@ -305,7 +305,7 @@
+
+ struct descriptor desc, *_desc = &desc;
+ int err;
-+ unsigned int count;
++ unsigned int count = 1;
+
+ if (__builtin_expect (sel, 0x48) & 4) /* LDT selector */
+ err = __i386_get_ldt (orig, sel, 1, &_desc, &count);
Reply to: