git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
17bf335
)
Close files before deleting them for compatibility with MS-Windows
author
J. Ali Harlow
<ali@juiblex.co.uk>
Fri, 9 Jan 2009 16:35:09 +0000 (16:35 +0000)
committer
J. Ali Harlow
<ali@juiblex.co.uk>
Fri, 9 Jan 2009 16:35:09 +0000 (16:35 +0000)
librazor/root.c
patch
|
blob
|
history
diff --git
a/librazor/root.c
b/librazor/root.c
index
87fb2d5
..
d06bca4
100644
(file)
--- a/
librazor/root.c
+++ b/
librazor/root.c
@@
-230,8
+230,8
@@
razor_root_close(struct razor_root *root)
assert (root != NULL);
razor_set_destroy(root->system);
- unlink(root->new_path);
close(root->fd);
+ unlink(root->new_path);
free(root);
return 0;