[gpm][PATCH]Hi, it's a problem, or it's a not problem

Balabanov Dmitry Balbanov Dmitry <dimonb@beep.ru>
Fri, 7 Feb 2003 18:51:19 +0300


against 1.20.1
--- liblow.c.orig       Wed Dec 25 01:57:16 2002
+++ liblow.c    Fri Feb  7 06:29:28 2003
@@ -199,7 +199,8 @@
    Gpm_Stst *new = NULL;
    char* sock_name = 0;
 
-   option.consolename = NULL;
+   if(!checked_con)
+       option.consolename = NULL;
 
    gpm_report(GPM_PR_DEBUG,"VC: %d",flag);

Next reinitialization is failed on this
   if(checked_con == 0) {
      option.consolename = Gpm_get_console();
      checked_con++;
   }   
without patch
-----
  Have a lot of fun.