mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 17:05:49 +00:00
commit
975eda2d56
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/apidocs
|
/apidocs
|
||||||
/trash-*.exe
|
/trash-*.exe
|
||||||
/libgit2.pc
|
/libgit2.pc
|
||||||
@ -13,10 +12,13 @@
|
|||||||
.waf*
|
.waf*
|
||||||
build/
|
build/
|
||||||
tests/tmp/
|
tests/tmp/
|
||||||
msvc/Debug/
|
msvc/Debug/
|
||||||
msvc/Release/
|
msvc/Release/
|
||||||
*.suo
|
*.sln
|
||||||
*.user
|
*.suo
|
||||||
*.sdf
|
*.vc*proj*
|
||||||
|
*.sdf
|
||||||
*.opensdf
|
*.opensdf
|
||||||
|
CMake*
|
||||||
|
*.cmake
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg)
|
|||||||
cfg->reader.read_ptr = line_end;
|
cfg->reader.read_ptr = line_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int config_keychar(int c)
|
GIT_INLINE(int) config_keychar(int c)
|
||||||
{
|
{
|
||||||
return isalnum(c) || c == '-';
|
return isalnum(c) || c == '-';
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||||
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
|
# define S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
|
||||||
|
|
||||||
|
/* case-insensitive string comparision */
|
||||||
|
# define strcasecmp _stricmp
|
||||||
|
# define strncasecmp _strnicmp
|
||||||
|
|
||||||
#if (_MSC_VER >= 1600)
|
#if (_MSC_VER >= 1600)
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user