[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r5156 - in glibc-package/trunk/debian: . patches/hurd-i386



Author: sthibault
Date: 2012-02-04 14:42:32 +0000 (Sat, 04 Feb 2012)
New Revision: 5156

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/hurd-i386/local-select.diff
Log:
patches/hurd-i386/local-select.diff: Do not apply the select(0) hack to vim, as it hurts its performance badly.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2012-02-02 21:19:04 UTC (rev 5155)
+++ glibc-package/trunk/debian/changelog	2012-02-04 14:42:32 UTC (rev 5156)
@@ -1,8 +1,10 @@
 eglibc (2.13-27) UNRELEASED; urgency=low
 
-  * 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/local-select.diff: Do not apply the select(0) hack to
+    vim, as it hurts its performance badly.
 
- -- Aurelien Jarno <aurel32@debian.org>  Thu, 02 Feb 2012 22:05:30 +0100
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 04 Feb 2012 15:40:55 +0100
 
 eglibc (2.13-26) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/patches/hurd-i386/local-select.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/local-select.diff	2012-02-02 21:19:04 UTC (rev 5155)
+++ glibc-package/trunk/debian/patches/hurd-i386/local-select.diff	2012-02-04 14:42:32 UTC (rev 5156)
@@ -11,7 +11,7 @@
  
        to = timeout->tv_sec * 1000 +
  	   (timeout->tv_nsec + 999999) / 1000000;
-+      if (!to)
++      if (strcmp(program_invocation_short_name, "vi") && strcmp(program_invocation_short_name, "vim") && strcmp(program_invocation_short_name, "vimdiff") && !to)
 +	to = 1;
      }
  


Reply to: