oaf patch ...



Hi there,

	I just committed this to the stable branch; it might be useful on
HEAD too, I know it's limited but people can be trained to make their xml
look nice for it by errors spewing when they get it wrong :-)

	Over to you.

	Regards,

		Michael.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/oaf/ChangeLog,v
retrieving revision 1.126.2.8
diff -u -r1.126.2.8 ChangeLog
--- ChangeLog	2000/11/29 21:33:31	1.126.2.8
+++ ChangeLog	2000/12/28 19:02:31
@@ -1,3 +1,8 @@
+2000-12-28  Michael Meeks  <michael helixcode com>
+
+	* test/oaf-slay.tmpl: Reverse grep on type="shlib" so we don't
+	go round trying to kill shared libraries.
+
 2000-11-29  Maciej Stachowiak  <mjs eazel com>
 
 	* liboaf/liboaf.h: Make definition of oaf_popt_options
Index: test/oaf-slay.tmpl
===================================================================
RCS file: /cvs/gnome/oaf/test/oaf-slay.tmpl,v
retrieving revision 1.2
diff -u -r1.2 oaf-slay.tmpl
--- test/oaf-slay.tmpl	2000/11/08 00:31:14	1.2
+++ test/oaf-slay.tmpl	2000/12/28 19:02:31
@@ -15,7 +15,7 @@
 	open (FILE, $fname);
 	while (<FILE>) {
 		$line = $_;
-		if ($line =~m/location[ \t]*\=/) {
+		if ($line =~m/location[ \t]*\=/ && !($line
=~m/type=\"shlib\"/)) {
 			$line =~s/.*location[ \t]*\="//;
 			$line =~s/".*//;
 			chomp ($line);


-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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