Re: [PATCH 1/4] enter_repo: do not modify input
Phil Hord <phil.hord@gmail.com> writes:
Show 6 quoted lines
> 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 ';'.