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
f76933b1
Commit
f76933b1
authored
Jan 27, 2000
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the error code problem with test.sh
(was a minor bug in send_file_list)
parent
378a074c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
flist.c
flist.c
+5
-3
No files found.
flist.c
View file @
f76933b1
...
@@ -436,7 +436,7 @@ struct file_struct *make_file(int f, char *fname)
...
@@ -436,7 +436,7 @@ struct file_struct *make_file(int f, char *fname)
if
(
readlink_stat
(
fname
,
&
st
,
linkbuf
)
!=
0
)
{
if
(
readlink_stat
(
fname
,
&
st
,
linkbuf
)
!=
0
)
{
io_error
=
1
;
io_error
=
1
;
rprintf
(
FERROR
,
"%s: %s
\n
"
,
rprintf
(
FERROR
,
"
readlink
%s: %s
\n
"
,
fname
,
strerror
(
errno
));
fname
,
strerror
(
errno
));
return
NULL
;
return
NULL
;
}
}
...
@@ -673,8 +673,10 @@ struct file_list *send_file_list(int f,int argc,char *argv[])
...
@@ -673,8 +673,10 @@ struct file_list *send_file_list(int f,int argc,char *argv[])
}
}
if
(
link_stat
(
fname
,
&
st
)
!=
0
)
{
if
(
link_stat
(
fname
,
&
st
)
!=
0
)
{
if
(
f
!=
-
1
)
{
io_error
=
1
;
io_error
=
1
;
rprintf
(
FERROR
,
"%s : %s
\n
"
,
fname
,
strerror
(
errno
));
rprintf
(
FERROR
,
"link_stat %s : %s
\n
"
,
fname
,
strerror
(
errno
));
}
continue
;
continue
;
}
}
...
...
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