projects
/
tedtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97c88ec
)
Fix dumping empty suffix tree
author
teodor
<teodor>
Sat, 14 Feb 2009 12:12:46 +0000
(12:12 +0000)
committer
teodor
<teodor>
Sat, 14 Feb 2009 12:12:46 +0000
(12:12 +0000)
sfxstr.c
patch
|
blob
|
history
diff --git
a/sfxstr.c
b/sfxstr.c
index
6bf215d
..
d65bf7c
100644
(file)
--- a/
sfxstr.c
+++ b/
sfxstr.c
@@
-1126,8
+1126,9
@@
SFSWriteDump(SFSTree *info, char *filename, void *extradata, u_int32_t extrasize
wp.info = info;
wp.offset = 0;
-
- writeNode(&wp, fd, info->node, extrasize);
+
+ if ( info->node )
+ writeNode(&wp, fd, info->node, extrasize);
}
flock(fd, LOCK_UN);