projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f5f78
)
diff: cosmetic change on top of last commit
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 9 Jul 2010 17:44:38 +0000
(19:44 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 9 Jul 2010 17:44:38 +0000
(19:44 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/diff.c
patch
|
blob
|
history
diff --git
a/editors/diff.c
b/editors/diff.c
index 8d91b83bfc8a448779008c5d88125852ab3f465d..3e20483300c4eaefcd4cff77b03940e06b2113ce 100644
(file)
--- a/
editors/diff.c
+++ b/
editors/diff.c
@@
-761,9
+761,9
@@
static int FAST_FUNC add_to_dirlist(const char *filename,
{
struct dlist *const l = userdata;
const char *file = filename + l->len;
- l->dl = xrealloc_vector(l->dl, 6, l->e);
while(*file == '/')
file++;
+ l->dl = xrealloc_vector(l->dl, 6, l->e);
l->dl[l->e] = xstrdup(file);
l->e++;
return TRUE;