[gpm] [request] remove excessive debug messages
Nico Schottelius
nico-gpm@schottelius.org
Sat Oct 15 18:53:55 CEST 2005
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@lists.linux.it
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.linux.it/pipermail/gpm/attachments/20051015/f332c6fa/attachment.pgp
More information about the gpm
mailing list