[gnome-session] Don't use rpmatch(3)



commit fa8de58ba96ab930baa1b8036b56a938f08c1b0e
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Fri Nov 10 17:10:59 2017 +0100

    Don't use rpmatch(3)
    
    Some operating systems (like OpenBSD) don't have support for it.
    https://bugzilla.gnome.org/show_bug.cgi?id=790154

 gnome-session/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index e2c3efe..d1f138b 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -309,7 +309,7 @@ main (int argc, char **argv)
 
         debug_string = g_getenv ("GNOME_SESSION_DEBUG");
         if (debug_string != NULL) {
-                debug = rpmatch (debug_string) == TRUE || atoi (debug_string) == 1;
+                debug = atoi (debug_string) == 1;
         }
 
         error = NULL;


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