projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4b6ee
)
Let tufdio use rpmio_internal.. its for internal testing only anyway
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 9 Oct 2007 12:07:08 +0000
(15:07 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 9 Oct 2007 12:07:08 +0000
(15:07 +0300)
lib/tufdio.c
patch
|
blob
|
history
diff --git
a/lib/tufdio.c
b/lib/tufdio.c
index
ff955a2
..
1ca0355
100644
(file)
--- a/
lib/tufdio.c
+++ b/
lib/tufdio.c
@@
-6,6
+6,7
@@
#include <rpmlib.h>
#include <rpmurl.h>
+#include "rpmio_internal.h"
#include <stdarg.h>
#include <err.h>
@@
-68,7
+69,7
@@
static int doFIO(const char *ofn, const char *rfmode, const char *wfmode)
warn("Compare: write(%s) \"%s\" != read(%s) \"%s\" for %s\n", wfmode, ofn, rfmode, buf, ofn);
else
rc = 0;
- if (
U
nlink(ofn) != 0)
+ if (
ufdio->_u
nlink(ofn) != 0)
warn("Unlink: write(%s) read(%s) for %s\n", wfmode, rfmode, ofn);
return rc;
}