From af27fd2f70145aa9f119444b2a27f063f4ec83d3 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 23 Mar 2011 09:58:34 +0000 Subject: [PATCH] Doh. [SVN r70472] --- v2/engine/filent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/engine/filent.c b/v2/engine/filent.c index 046842946..ab1895767 100644 --- a/v2/engine/filent.c +++ b/v2/engine/filent.c @@ -199,7 +199,7 @@ void file_dirscan( char * dir, scanback func, void * closure ) There will be no trailing slash in $(p), but there will be one in $(p2). But, that seems rather fragile. */ - d->name[2] = '0'; + d->name[2] = 0; (*func)( closure, d->name, 1 /* stat()'ed */, d->time ); } }