]> git.pld-linux.org Git - packages/xen.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 29 Jan 2006 20:01:27 +0000 (20:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xen-pygrub.patch -> 1.1

xen-pygrub.patch [new file with mode: 0644]

diff --git a/xen-pygrub.patch b/xen-pygrub.patch
new file mode 100644 (file)
index 0000000..80fde27
--- /dev/null
@@ -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;    
+     }
This page took 0.035301 seconds and 4 git commands to generate.