diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-03-05 13:58:47 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-05 13:58:47 +0200 |
| commit | 246eba80af31d25a1fb14e707f79374cf91f8bb7 (patch) | |
| tree | ee1fa6e084c2ca9eccb82d55b3493a80511d4c64 /src/fileops.c | |
| parent | 60cb1d10b3eb0e7966be1c40501524dc10e4c512 (diff) | |
| download | libgit2-246eba80af31d25a1fb14e707f79374cf91f8bb7.tar.gz | |
Use memmove() in git__dirname and git__basename
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>
Diffstat (limited to 'src/fileops.c')
0 files changed, 0 insertions, 0 deletions
