Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
138af337
Commit
138af337
authored
May 19, 2014
by
Vicent Marti
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2303 from jacquesg/mingw-lseek
WIP: Windows fixes
parents
b2a4be1d
f5dd2a28
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/attrcache.c
+1
-1
src/global.c
+1
-1
src/win32/mingw-compat.h
+1
-0
No files found.
src/attrcache.c
View file @
138af337
...
...
@@ -53,7 +53,7 @@ int git_attr_cache__alloc_file_entry(
cachesize
++
;
}
ce
=
git_pool_mallocz
(
pool
,
cachesize
);
ce
=
git_pool_mallocz
(
pool
,
(
uint32_t
)
cachesize
);
GITERR_CHECK_ALLOC
(
ce
);
if
(
baselen
)
{
...
...
src/global.c
View file @
138af337
...
...
@@ -76,7 +76,7 @@ static void git__shutdown(void)
#if defined(GIT_THREADS) && defined(GIT_WIN32)
static
DWORD
_tls_index
;
static
DWORD
_mutex
=
0
;
static
volatile
LONG
_mutex
=
0
;
static
int
synchronized_threads_init
()
{
...
...
src/win32/mingw-compat.h
View file @
138af337
...
...
@@ -10,6 +10,7 @@
#if defined(__MINGW32__)
/* use a 64-bit file offset type */
# undef lseek
# define lseek _lseeki64
# undef stat
# define stat _stati64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment