Browse Source

upgrading package: libjio 0.25 -> 0.51

master
parent
commit
d3ab5712de
  1. 30
      libjio/libjio.patch
  2. 4
      libjio/libjio.spec

30
libjio/libjio.patch

@ -1,14 +1,26 @@
Index: libjio/trans.c
--- libjio/trans.c.orig 2009-03-29 06:31:21 +0200
+++ libjio/trans.c 2009-03-30 21:40:55 +0200
@@ -421,8 +421,10 @@
ts->fs->ltrans = linger;
pthread_mutex_unlock(&(ts->fs->ltlock));
} else {
--- libjio/trans.c.orig 2009-04-25 19:39:32 +0200
+++ libjio/trans.c 2009-04-25 23:12:08 +0200
@@ -234,8 +234,10 @@
goto rollback_exit;
}
} else {
+#if 0
if (fdatasync(ts->fs->fd) != 0)
goto rollback_exit;
if (fdatasync(ts->fs->fd) != 0)
goto rollback_exit;
+#endif
}
/* the transaction has been applied, so we cleanup and remove
* it from the disk */
@@ -517,9 +519,11 @@
if (fs->fd < 0)
return -1;
+#if 0
rv = fdatasync(fs->fd);
if (rv != 0)
return rv;
+#endif
pthread_mutex_lock(&(fs->ltlock));
while (fs->ltrans != NULL) {

4
libjio/libjio.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: EVAL
Group: Libraries
License: OSL
Version: 0.25
Release: 20090330
Version: 0.51
Release: 20090630
# list of sources
Source0: http://blitiri.com.ar/p/libjio/files/%{version}/libjio-%{version}.tar.gz

Loading…
Cancel
Save