patch-2.4.0-test10 linux/drivers/char/selection.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/sbc60xxwdt.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Oct 16 12:58:51 2000
- Orig file:
v2.4.0-test9/linux/drivers/char/selection.c
- Orig date:
Tue Aug 31 11:30:48 1999
diff -u --recursive --new-file v2.4.0-test9/linux/drivers/char/selection.c linux/drivers/char/selection.c
@@ -36,11 +36,11 @@
/* Variables for selection control. */
/* Use a dynamic buffer, instead of static (Dec 1994) */
- int sel_cons = 0; /* must not be disallocated */
+ int sel_cons; /* must not be disallocated */
static volatile int sel_start = -1; /* cleared by clear_selection */
static int sel_end;
-static int sel_buffer_lth = 0;
-static char *sel_buffer = NULL;
+static int sel_buffer_lth;
+static char *sel_buffer;
/* clear_selection, highlight and highlight_pointer can be called
from interrupt (via scrollback/front) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)