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
63d83e94
Commit
63d83e94
authored
Mar 25, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved push_dir() error reporting.
parent
54634534
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
flist.c
flist.c
+6
-6
No files found.
flist.c
View file @
63d83e94
...
...
@@ -337,8 +337,8 @@ int push_flist_dir(const char *dir, int len)
if
(
dir
&&
!
push_dir
(
dir
,
0
))
{
io_error
|=
IOERR_GENERAL
;
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed"
,
full_fname
(
dir
));
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed
in %s
"
,
full_fname
(
dir
)
,
curr_dir
);
return
0
;
}
...
...
@@ -1439,8 +1439,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
disable_buffering
=
io_start_buffering_out
(
f
);
if
(
filesfrom_fd
>=
0
)
{
if
(
argv
[
0
]
&&
!
push_dir
(
argv
[
0
],
0
))
{
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed"
,
full_fname
(
argv
[
0
]));
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed
in %s
"
,
full_fname
(
argv
[
0
])
,
curr_dir
);
exit_cleanup
(
RERR_FILESELECT
);
}
use_ff_fd
=
1
;
...
...
@@ -1568,8 +1568,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
}
else
if
(
!
push_flist_dir
(
lastdir
,
lastdir_len
))
{
push_error:
io_error
|=
IOERR_GENERAL
;
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed"
,
full_fname
(
dir
));
rsyserr
(
FERROR
,
errno
,
"push_dir %s failed
in %s
"
,
full_fname
(
dir
)
,
curr_dir
);
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