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:
0dd6c8c
)
manually adjust ABS_PATH uses for new semantics
author
Jim Meyering
<meyering@redhat.com>
Mon, 10 Aug 2009 21:13:31 +0000
(23:13 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Thu, 13 Aug 2009 12:45:34 +0000
(14:45 +0200)
* daemon/file.c (do_cat): fix an ABS_PATH use
daemon/file.c
patch
|
blob
|
history
diff --git
a/daemon/file.c
b/daemon/file.c
index
e185132
..
9cc324f
100644
(file)
--- a/
daemon/file.c
+++ b/
daemon/file.c
@@
-74,7
+74,7
@@
do_cat (char *path)
char *buf, *buf2;
NEED_ROOT (NULL);
- ABS_PATH (path,NULL);
+ ABS_PATH (path,
return
NULL);
CHROOT_IN;
fd = open (path, O_RDONLY);