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:
9226941
)
Fix bug causing remove to abort
0.2
author
J. Ali Harlow
<ali@juiblex.co.uk>
Tue, 18 Aug 2009 13:04:11 +0000 (14:04 +0100)
committer
J. Ali Harlow
<ali@juiblex.co.uk>
Tue, 18 Aug 2009 13:04:11 +0000 (14:04 +0100)
librazor/razor.c
patch
|
blob
|
history
diff --git
a/librazor/razor.c
b/librazor/razor.c
index
ae968a3
..
d29dead
100644
(file)
--- a/
librazor/razor.c
+++ b/
librazor/razor.c
@@
-598,9
+598,11
@@
razor_set_find_entry(struct razor_set *set,
int len;
assert (set != NULL);
- assert (dir != NULL);
assert (pattern != NULL);
+ if (dir == NULL)
+ return NULL;
+
e = dir;
do {
n = pool + e->name;