Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config.mak.uname: use clang for Mac OS X 10.6
[gitweb.git]
/
entry.c
diff --git
a/entry.c
b/entry.c
index 582c40071a3034af9a391cf438dd74ddb34e15ff..a4109574fa72e0f3f32ad7b9e1ed0e402c8aecff 100644
(file)
--- a/
entry.c
+++ b/
entry.c
@@
-6,7
+6,7
@@
static void create_directories(const char *path, int path_len,
const struct checkout *state)
{
- char *buf = xmalloc
(path_len + 1
);
+ char *buf = xmalloc
z(path_len
);
int len = 0;
while (len < path_len) {