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
42f23f47
Commit
42f23f47
authored
Feb 01, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a typo in a variable name.
parent
62bf783f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
flist.c
flist.c
+4
-4
No files found.
flist.c
View file @
42f23f47
...
...
@@ -522,7 +522,7 @@ void receive_file_entry(struct file_struct **fptr, unsigned short flags,
static
gid_t
gid
;
static
char
lastname
[
MAXPATHLEN
],
*
lastdir
;
static
int
lastdir_depth
,
lastdir_len
=
-
1
;
static
unsigned
int
del_h
ei
r_name_len
=
0
;
static
unsigned
int
del_h
ie
r_name_len
=
0
;
static
int
in_del_hier
=
0
;
char
thisname
[
MAXPATHLEN
];
unsigned
int
l1
=
0
,
l2
=
0
;
...
...
@@ -646,11 +646,11 @@ void receive_file_entry(struct file_struct **fptr, unsigned short flags,
if
(
S_ISDIR
(
mode
))
{
if
(
flags
&
XMIT_DEL_START
)
{
in_del_hier
=
1
;
del_h
ei
r_name_len
=
l1
+
l2
;
del_h
ie
r_name_len
=
l1
+
l2
;
file
->
flags
|=
FLAG_DEL_START
;
}
else
if
(
delete_during
&&
in_del_hier
)
{
if
(
!
relative_paths
||
(
l1
>=
del_h
ei
r_name_len
&&
thisname
[
del_h
ei
r_name_len
]
==
'/'
))
if
(
!
relative_paths
||
(
l1
>=
del_h
ie
r_name_len
&&
thisname
[
del_h
ie
r_name_len
]
==
'/'
))
file
->
flags
|=
FLAG_DEL_START
;
else
in_del_hier
=
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