git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generator.ml: new type, "Pathname"
[libguestfs.git]
/
daemon
/
glob.c
diff --git
a/daemon/glob.c
b/daemon/glob.c
index
f15d5e5
..
40b7c50
100644
(file)
--- a/
daemon/glob.c
+++ b/
daemon/glob.c
@@
-31,8
+31,8
@@
do_glob_expand (char *pattern)
int r;
glob_t buf;
int r;
glob_t buf;
- NEED_ROOT (NULL);
- ABS_PATH (pattern,
NULL);
/* Required so chroot can be used. */
+ NEED_ROOT (
return
NULL);
+ ABS_PATH (pattern,
return NULL);
/* Required so chroot can be used. */
/* glob(3) in glibc never calls chdir, so this seems to be safe: */
CHROOT_IN;
/* glob(3) in glibc never calls chdir, so this seems to be safe: */
CHROOT_IN;