http://qa.mandrakesoft.com/show_bug.cgi?id=4075

           Product: gpm
         Component: gpm
           Summary: annoying messages in mc and w3m if not root in X
           Product: gpm
           Version: 1.20.1-5mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gpm
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This patch fixes it.


--- gpm-1.20.1/src/lib/liblow.c.silly_messages  2003-06-16 03:31:48.000000000
+0200                                                  
+++ gpm-1.20.1/src/lib/liblow.c 2003-06-16 03:36:12.000000000 +0200            
                                                     
@@ -259,7 +259,7 @@                                                            
                                                     
          /* do we really need this check ? */                                 
                                                     
          if(strncmp(tty,option.consolename,strlen(option.consolename)-1)      
                                                     
             || !isdigit(tty[strlen(option.consolename)-1])) {                 
                                                     
-            gpm_report(GPM_PR_ERR,"strncmp/isdigit/option.consolename failed");
                                                    
+             /* gpm_report(GPM_PR_ERR,"strncmp/isdigit/option.consolename
failed"); */                                              
             goto err;    
                                                                               
                           
          }                                                                    
                                                                               
                                                                               
                          
@@ -368,7 +368,7 @@                                                            
                                                     
                                                                               
                                                     
   /*....................................... Error: free all memory */         
                                                     
    err:                                                                       
                                                     
-   gpm_report(GPM_PR_ERR,"Oh, oh, it's an error! possibly I die! ");          
                                                     
+  /* gpm_report(GPM_PR_ERR,"Oh, oh, it's an error! possibly I die! "); */     
                                                     
    do {                                                                       
                                                     
       new=gpm_stack->next;                                                    
                                                     
       free(gpm_stack);

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to