~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to debian/patches/hurd-i386/local-select.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
http://bugs.debian.org/79358
2
 
 
3
 
this is not a proper fix, but should unbreak quite a few things.
4
 
 
5
 
 hurdselect.c |    2 ++
6
 
 1 file changed, 2 insertions(+)
7
 
--- a/hurd/hurdselect.c.orig    2011-12-08 01:45:07.802727557 +0100
8
 
+++ b/hurd/hurdselect.c 2011-12-08 01:45:16.230596929 +0100
9
 
@@ -85,6 +85,8 @@
10
 
 
11
 
       to = timeout->tv_sec * 1000 +
12
 
           (timeout->tv_nsec + 999999) / 1000000;
13
 
+      if (strcmp(program_invocation_short_name, "vi") && strcmp(program_invocation_short_name, "vim") && strcmp(program_invocation_short_name, "vimdiff") && !to)
14
 
+       to = 1;
15
 
     }
16
 
 
17
 
   if (sigmask && __sigprocmask (SIG_SETMASK, sigmask, &oset))