Re: [request] remove excessive debug messages

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

 



is gone.

Mike Frysinger [Tue, May 03, 2005 at 10:53:08PM -0400]:
> 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
> 

-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
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]