git://project.juiblex.co.uk
/
razor2.git/.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
10cf5c2
)
Also don't explode when a given path doesn't exist.
author
Kristian Høgsberg
<krh@redhat.com>
Wed, 25 Jun 2008 15:48:46 +0000 (11:48 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Wed, 25 Jun 2008 15:48:46 +0000 (11:48 -0400)
librazor/razor.c
patch
|
blob
|
history
diff --git
a/librazor/razor.c
b/librazor/razor.c
index
bfce109
..
3bfee2f
100644
(file)
--- a/
librazor/razor.c
+++ b/
librazor/razor.c
@@
-510,7
+510,7
@@
razor_set_list_files(struct razor_set *set, const char *pattern)
}
}
e = razor_set_find_entry(set, set->files.data, buffer);
- if (e->start != 0)
+ if (e && e->start != 0)
list_dir(set, e, buffer, base);
}