util.c
7.11 KB
-
Use memmove() in git__dirname and git__basename · 246eba80
We cannot make sure that the user doesn't use the same buffer as source and destination, so write to it using memmove. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Vicent Marti committed