Author: glen                         Date: Wed Feb 20 22:49:18 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- abort() when db open fails

---- Files affected:
SOURCES:
   poldek-abort-on-upgrade.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/poldek-abort-on-upgrade.patch
diff -u /dev/null SOURCES/poldek-abort-on-upgrade.patch:1.1
--- /dev/null   Wed Feb 20 23:49:18 2008
+++ SOURCES/poldek-abort-on-upgrade.patch       Wed Feb 20 23:49:13 2008
@@ -0,0 +1,10 @@
+--- poldek-0.21-cvs20070703.00/pm/rpm/rpm.c~   2007-07-02 00:04:27.000000000 
+0300
++++ poldek-0.21-cvs20070703.00/pm/rpm/rpm.c    2008-02-15 05:28:23.107186566 
+0200
+@@ -221,6 +221,7 @@
+         logn(LOGERR, _("%s%s: open rpm database failed"),
+              rootdir ? rootdir:"", dbpath ? dbpath : pm->default_dbpath);
+         rc = 0;
++              abort(); // XXX maybe re-exec ourselves after poldek binary 
upgrade?
+     }
+     
+ #if ENABLE_TRACE    
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to