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:
c8419d4
)
daemon/file.c: remove duplicate absolute-path check
author
Jim Meyering
<meyering@redhat.com>
Fri, 7 Aug 2009 18:07:03 +0000
(20:07 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 10 Aug 2009 08:48:38 +0000
(10:48 +0200)
* daemon/file.c (do_file): Remove redundant use of ABS_PATH.
It's redundant because the preceding line invokes NEED_ROOT_OR_IS_DEVICE,
which also invokes ABS_PATH.
daemon/file.c
patch
|
blob
|
history
diff --git
a/daemon/file.c
b/daemon/file.c
index
63d8dd2
..
cd477e5
100644
(file)
--- a/
daemon/file.c
+++ b/
daemon/file.c
@@
-392,7
+392,6
@@
do_file (char *path)
int len;
NEED_ROOT_OR_IS_DEVICE (path, NULL);
- ABS_PATH (path, NULL);
if (strncmp (path, "/dev/", 5) == 0)
buf = (char *) path;