another gdm patch. (I am bored)



Anyone has comments on this ?

Inspired by a patch from RH.

Mathieu

Index: gdmlogin.c
===================================================================
RCS file: /cvs/gnome/gdm2/gui/gdmlogin.c,v
retrieving revision 1.14
diff -u -r1.14 gdmlogin.c
--- gdmlogin.c	1999/12/29 21:06:27	1.14
+++ gdmlogin.c	2000/12/13 03:28:40
@@ -635,7 +635,10 @@
 	gchar *s;
 
 	/* Ignore backups and rpmsave files */
-	if ((strstr (dent->d_name, "~")) || (strstr (dent->d_name, ".rpmsave"))) {
+	if ((strstr (dent->d_name, "~")) 
+	    || (strstr (dent->d_name, ".rpmsave"))
+	    || (strstr (dent->d_name, ".rpmorig"))
+	    ) {
 	    dent = readdir (sessdir);
 	    continue;
 	}

-- 
Mathieu Lacage <mathieu eazel com>


_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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