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

Bug#444638: A patch



I got some free time, so I fixed the bug I submitted. 
The default settings when backgrounded were attempting
to input nonexistent input into the selection buffer
and thus cleared it.  Please apply this simple patch
to the next version.  Thanks.

diff -uN xsel-0.9.6/xsel.c xsel-0.9.6.fixed/xsel.c
--- xsel-0.9.6/xsel.c   2001-07-23 20:39:44.000000000
-0700
+++ xsel-0.9.6.fixed/xsel.c     2007-12-01
13:01:27.000000000 -0800
@@ -1758,7 +1758,7 @@
     do_input = False; dont_input = True;
     do_output = False; dont_output = False;
   } else {
-    do_input = !isatty(0); dont_input = !do_input;
+    do_input = False; dont_input = True;
     do_output = !isatty(1); dont_output = !do_output;
   }



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




Reply to: