[request] remove excessive debug messages

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

 



both Gentoo and Redhat remove some debugging messages that seem to be 
unnecessary and just fill up log files with junk

the lines we are talking about:

--- gpm-1.20.1/src/lib/liblow.c
+++ gpm-1.20.1/src/lib/liblow.c
@@ -262,9 +262,10 @@
          }   
+#if 0
          /* do we really need this check ? */
          if(strncmp(tty,consolename,strlen(consolename)-1)
             || !isdigit(tty[strlen(consolename)-1])) {
             gpm_report(GPM_PR_ERR,"strncmp/isdigit/consolename failed");
             goto err;
          }
-          
+#endif
          conn->vc=atoi(&tty[strlen(consolename)-1]);
@@ -376,4 +376,6 @@
   /*....................................... Error: free all memory */
    err:
+#if 0
    gpm_report(GPM_PR_ERR,"Oh, oh, it's an error! possibly I die! ");
+#endif
    do {

-mike
_______________________________________________
gpm mailing list
gpm@xxxxxxxxxxxxxx
http://lists.linux.it/listinfo/gpm

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]