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
554dc122
Commit
554dc122
authored
Mar 31, 2010
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing now-redundant path-size check from send_if_directory().
parent
8c934eba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
flist.c
flist.c
+0
-6
No files found.
flist.c
View file @
554dc122
...
@@ -1564,12 +1564,6 @@ static void send_if_directory(int f, struct file_list *flist,
...
@@ -1564,12 +1564,6 @@ static void send_if_directory(int f, struct file_list *flist,
unsigned
int
len
=
strlen
(
fbuf
);
unsigned
int
len
=
strlen
(
fbuf
);
if
(
len
>
1
&&
fbuf
[
len
-
1
]
==
'/'
)
if
(
len
>
1
&&
fbuf
[
len
-
1
]
==
'/'
)
fbuf
[
--
len
]
=
'\0'
;
fbuf
[
--
len
]
=
'\0'
;
if
(
len
>=
MAXPATHLEN
-
1
)
{
io_error
|=
IOERR_GENERAL
;
rprintf
(
FERROR_XFER
,
"skipping long-named directory: %s
\n
"
,
full_fname
(
fbuf
));
return
;
}
save_filters
=
push_local_filters
(
fbuf
,
len
);
save_filters
=
push_local_filters
(
fbuf
,
len
);
send_directory
(
f
,
flist
,
fbuf
,
len
,
flags
);
send_directory
(
f
,
flist
,
fbuf
,
len
,
flags
);
pop_local_filters
(
save_filters
);
pop_local_filters
(
save_filters
);
...
...
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