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
2d96fce2
Commit
2d96fce2
authored
Nov 19, 2012
by
Eduardo Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update win32 lstat comment
parent
52ead787
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/win32/posix_w32.c
+2
-5
No files found.
src/win32/posix_w32.c
View file @
2d96fce2
...
@@ -106,12 +106,9 @@ static int do_lstat(
...
@@ -106,12 +106,9 @@ static int do_lstat(
errno
=
ENOENT
;
errno
=
ENOENT
;
/* ERROR_PATH_NOT_FOUND can mean either that a parent directory is
/* We need POSIX behavior, then ENOTDIR must set when any of the folders in the
* missing or that an expected directory is a regular file. If we need
* file path is a regular file,otherwise ENOENT must be set.
* POSIX behavior, then ENOTDIR must only be set for the second case
* (i.e. entry that is not a dir), and the first case should be ENOENT.
*/
*/
if
(
posix_enotdir
)
{
if
(
posix_enotdir
)
{
/* scan up path until we find an existing item */
/* scan up path until we find an existing item */
while
(
1
)
{
while
(
1
)
{
...
...
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