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
6ffc49e1
Unverified
Commit
6ffc49e1
authored
Jun 23, 2019
by
Edward Thomson
Committed by
GitHub
Jun 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5136 from libgit2/ethomson/largefiles_32bit
largefile tests: only write 2GB on 32-bit platforms
parents
4df9f3c6
8eb910b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
tests/object/tree/read.c
+5
-1
No files found.
tests/object/tree/read.c
View file @
6ffc49e1
...
@@ -75,7 +75,11 @@ void test_object_tree_read__two(void)
...
@@ -75,7 +75,11 @@ void test_object_tree_read__two(void)
}
}
#define BIGFILE "bigfile"
#define BIGFILE "bigfile"
#define BIGFILE_SIZE (off_t)4 * 1024 * 1024 * 1024
/* 4 GiB */
#ifdef GIT_ARCH_64
# define BIGFILE_SIZE (size_t)4 * 1024 * 1024 * 1024
/* 4 GiB */
#else
# define BIGFILE_SIZE SIZE_MAX
#endif
void
test_object_tree_read__largefile
(
void
)
void
test_object_tree_read__largefile
(
void
)
{
{
...
...
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