Re: [PATCH] Fix git-init-db creating crap directories (zeroth try) From: "H. Peter Anvin" <hpa@zytor.com> Date: 2016-06-15 22:42:06 Petr Baudis wrote:quoted But if len is the index of the '/', then you're not. But fortunately len is not the index of the '/', len-1 is. len is the length of the leading path fragment including the trailing slash. Then you'd need len-1 both inside the memcpy() and the assignment, of course. -hpa
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help