Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/4] enter_repo: do not modify input

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:10

Phil Hord [off-list ref] writes:
quoted hunk
diff --git a/daemon.c b/daemon.c
index 4c8346d..9253192 100644
--- a/daemon.c
+++ b/daemon.c
@@ -108,11 +108,11 @@ static void NORETURN daemon_die(const char *err,
va_list params)
Corrupt and unappliable patch.
-		if (path[0] == '~') {
-			char *newpath = expand_user_path(path);
+		strncpy(used_path, path, len); used_path[len] = 0 ;
Do not write two statements on a single line; extra SP before ';'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help