components/gnome/gnome-session/patches/03-rpmatch.patch
changeset 7190 995b487a3de3
equal deleted inserted replaced
7189:ccba3d77aa53 7190:995b487a3de3
       
     1 Linux / FreeBSD have a convenience function to determining whether there
       
     2 is a local-specific "positive" value in a variable (rpmatch).  Solaris
       
     3 does not have this.
       
     4 
       
     5 Need to file a Solaris bug?
       
     6 
       
     7 --- gnome-session-3.16.0/gnome-session/main.c	2015-02-17 11:53:01.000000000 -0800
       
     8 +++ gnome-session-3.16.0/gnome-session/main.c	2015-07-06 22:49:12.668481062 -0700
       
     9 @@ -260,7 +260,7 @@
       
    10  
       
    11          debug_string = g_getenv ("GNOME_SESSION_DEBUG");
       
    12          if (debug_string != NULL) {
       
    13 -                debug = rpmatch (debug_string) == TRUE || atoi (debug_string) == 1;
       
    14 +                debug = atoi (debug_string) == 1;
       
    15          }
       
    16  
       
    17          error = NULL;