]> git.proxmox.com Git - libgit2.git/commit - src/util.c
Fix duplicate basenames to support older VS
authorJohn Haley <johnh@axosoft.com>
Wed, 5 Aug 2015 17:19:06 +0000 (10:19 -0700)
committerJohn Haley <johnh@axosoft.com>
Wed, 5 Aug 2015 20:02:58 +0000 (13:02 -0700)
commiteba784d24d12ad7243708d97d80427bbdc9fd2b7
tree3f1c8d36fb0b29c9c443aa89f682d507cae53d49
parentcf716beed2f4729cf01a9822d75b4f1ebf7ccbf1
Fix duplicate basenames to support older VS

With Visual Studio versions 2008 and older they ignore the full path to files and only check
the basename of the file to find a collision. Additionally, having duplicate basenames can break
other build tools like GYP.

This fixes https://github.com/libgit2/libgit2/issues/3356
src/path.c
src/util.c
src/win32/buffer.c [deleted file]
src/win32/buffer.h [deleted file]
src/win32/w32_buffer.c [new file with mode: 0644]
src/win32/w32_buffer.h [new file with mode: 0644]