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
1de11aca
Commit
1de11aca
authored
Jul 09, 2012
by
Russell Belfer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #810 from Steap/development
Fix libgit2 on GNU/Hurd.
parents
b00e9216
296f60f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/path.c
+2
-2
No files found.
src/path.c
View file @
1de11aca
...
@@ -515,7 +515,7 @@ int git_path_direach(
...
@@ -515,7 +515,7 @@ int git_path_direach(
return
-
1
;
return
-
1
;
}
}
#if
def __sun
#if
defined(__sun) || defined(__GNU__)
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
)
+
FILENAME_MAX
+
1
);
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
)
+
FILENAME_MAX
+
1
);
#else
#else
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
));
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
));
...
@@ -569,7 +569,7 @@ int git_path_dirload(
...
@@ -569,7 +569,7 @@ int git_path_dirload(
return
-
1
;
return
-
1
;
}
}
#if
def __sun
#if
defined(__sun) || defined(__GNU__)
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
)
+
FILENAME_MAX
+
1
);
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
)
+
FILENAME_MAX
+
1
);
#else
#else
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
));
de_buf
=
git__malloc
(
sizeof
(
struct
dirent
));
...
...
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