SOURCES: xen-pygrub.patch (NEW) - new
arekm
arekm at pld-linux.org
Sun Jan 29 21:01:32 CET 2006
Author: arekm Date: Sun Jan 29 20:01:32 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
xen-pygrub.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xen-pygrub.patch
diff -u /dev/null SOURCES/xen-pygrub.patch:1.1
--- /dev/null Sun Jan 29 21:01:32 2006
+++ SOURCES/xen-pygrub.patch Sun Jan 29 21:01:27 2006
@@ -0,0 +1,32 @@
+diff -urN xen-unstable.org/tools/pygrub/src/fsys/reiser/reisermodule.c xen-unstable/tools/pygrub/src/fsys/reiser/reisermodule.c
+--- xen-unstable.org/tools/pygrub/src/fsys/reiser/reisermodule.c 2006-01-25 05:56:11.000000000 +0100
++++ xen-unstable/tools/pygrub/src/fsys/reiser/reisermodule.c 2006-01-25 18:22:47.110770500 +0100
+@@ -17,7 +17,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#include <dal/file_dal.h>
++#include <dal/file.h>
+ #include <reiserfs/reiserfs.h>
+
+ #if (PYTHON_API_VERSION >= 1011)
+@@ -45,9 +45,7 @@
+ void file_dal_close(dal_t *dal) {
+
+ if (!dal) return;
+-
+- close((int)(unsigned long)dal->dev);
+- dal_free(dal);
++ file_close(dal);
+ }
+
+ /* reiser file object */
+@@ -218,7 +216,7 @@
+ return NULL;
+ }
+
+- if (!(dal = file_dal_open(name, block_size, O_RDONLY))) {
++ if (!(dal = file_open(name, block_size, O_RDONLY))) {
+ PyErr_SetString(PyExc_ValueError, "Couldn't create device abstraction");
+ return NULL;
+ }
================================================================
More information about the pld-cvs-commit
mailing list