git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99fb52
)
do_equal does not need to explicitly check for NEED_ROOT/ABS_PATH.
author
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 13 Aug 2009 13:37:43 +0000
(14:37 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Thu, 13 Aug 2009 13:37:43 +0000
(14:37 +0100)
daemon/cmp.c
patch
|
blob
|
history
diff --git
a/daemon/cmp.c
b/daemon/cmp.c
index
56717c5
..
2b7e33b
100644
(file)
--- a/
daemon/cmp.c
+++ b/
daemon/cmp.c
@@
-34,10
+34,6
@@
do_equal (const char *file1, const char *file2)
char *err;
int r;
- NEED_ROOT (return -1);
- ABS_PATH (file1, return -1);
- ABS_PATH (file2, return -1);
-
file1buf = sysroot_path (file1);
if (file1buf == NULL) {
reply_with_perror ("malloc");