r4372 - in glibc-package/trunk/debian: . patches patches/kfreebsd
Author: ps-guest
Date: 2010-08-09 09:24:00 +0000 (Mon, 09 Aug 2010)
New Revision: 4372
Added:
glibc-package/trunk/debian/patches/kfreebsd/local-grantpt.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series.kfreebsd-amd64
glibc-package/trunk/debian/patches/series.kfreebsd-i386
Log:
* Add kfreebsd/local-grantpt.diff to handle EINTR returned by waitpid.
It fixes konsole blank (terminal) display on kfreebsd-*. Closes #573063.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2010-08-02 06:48:01 UTC (rev 4371)
+++ glibc-package/trunk/debian/changelog 2010-08-09 09:24:00 UTC (rev 4372)
@@ -9,6 +9,8 @@
[ Petr Salinger ]
* kfreebsd/local-sysdeps.diff: update to revision 3131 (from glibc-bsd).
+ * Add kfreebsd/local-grantpt.diff to handle EINTR returned by waitpid.
+ It fixes konsole blank (terminal) display on kfreebsd-*. Closes #573063.
[ Clint Adams ]
* Reflect EGLIBC in binary package short descriptions. closes: #587586.
Added: glibc-package/trunk/debian/patches/kfreebsd/local-grantpt.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-grantpt.diff (rev 0)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-grantpt.diff 2010-08-09 09:24:00 UTC (rev 4372)
@@ -0,0 +1,17 @@
+--- a/sysdeps/unix/grantpt.c
++++ b/sysdeps/unix/grantpt.c
+@@ -200,9 +200,13 @@
+ else
+ {
+ int w;
+-
++retry:
+ if (__waitpid (pid, &w, 0) == -1)
++ {
++ if (errno == EINTR)
++ goto retry;
+ goto cleanup;
++ };
+ if (!WIFEXITED (w))
+ __set_errno (ENOEXEC);
+ else
Modified: glibc-package/trunk/debian/patches/series.kfreebsd-amd64
===================================================================
--- glibc-package/trunk/debian/patches/series.kfreebsd-amd64 2010-08-02 06:48:01 UTC (rev 4371)
+++ glibc-package/trunk/debian/patches/series.kfreebsd-amd64 2010-08-09 09:24:00 UTC (rev 4372)
@@ -1,5 +1,6 @@
kfreebsd/local-config_h_in.patch
kfreebsd/local-ftw.diff
+kfreebsd/local-grantpt.diff
kfreebsd/local-linuxthreads29.diff
kfreebsd/local-nosavesse.diff
kfreebsd/local-memusage_no_mremap.diff
Modified: glibc-package/trunk/debian/patches/series.kfreebsd-i386
===================================================================
--- glibc-package/trunk/debian/patches/series.kfreebsd-i386 2010-08-02 06:48:01 UTC (rev 4371)
+++ glibc-package/trunk/debian/patches/series.kfreebsd-i386 2010-08-09 09:24:00 UTC (rev 4372)
@@ -1,5 +1,6 @@
kfreebsd/local-config_h_in.patch
kfreebsd/local-ftw.diff
+kfreebsd/local-grantpt.diff
kfreebsd/local-linuxthreads29.diff
kfreebsd/local-nosavesse.diff
kfreebsd/local-memusage_no_mremap.diff
Reply to: