Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
c88ca682
Commit
c88ca682
authored
Aug 06, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for UNICOS CC: first argument to readlink must not be const, or we
get an error.
parent
fc990e81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
flist.c
flist.c
+1
-2
No files found.
flist.c
View file @
c88ca682
...
@@ -149,8 +149,7 @@ int readlink_stat(const char *Path, STRUCT_STAT *Buffer, char *Linkbuf)
...
@@ -149,8 +149,7 @@ int readlink_stat(const char *Path, STRUCT_STAT *Buffer, char *Linkbuf)
return
-
1
;
return
-
1
;
}
}
if
(
S_ISLNK
(
Buffer
->
st_mode
))
{
if
(
S_ISLNK
(
Buffer
->
st_mode
))
{
int
l
;
if
(
readlink
((
char
*
)
Path
,
Linkbuf
,
MAXPATHLEN
-
1
)
==
-
1
)
{
if
((
l
=
readlink
(
Path
,
Linkbuf
,
MAXPATHLEN
-
1
))
==
-
1
)
{
return
-
1
;
return
-
1
;
}
}
Linkbuf
[
l
]
=
0
;
Linkbuf
[
l
]
=
0
;
...
...
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