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
a9cc1283
Commit
a9cc1283
authored
Feb 23, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed fuzzy_dirname -> parent_dirname.
parent
ccb16b46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
generator.c
generator.c
+5
-5
No files found.
generator.c
View file @
a9cc1283
...
...
@@ -771,7 +771,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
enum
logcode
code
,
int
f_out
)
{
static
int
missing_below
=
-
1
,
excluded_below
=
-
1
;
static
char
*
fuzzy
_dirname
=
""
;
static
char
*
parent
_dirname
=
""
;
static
struct
file_list
*
fuzzy_dirlist
=
NULL
;
struct
file_struct
*
fuzzy_file
=
NULL
;
int
fd
=
-
1
,
f_copy
=
-
1
;
...
...
@@ -790,7 +790,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
if
(
fuzzy_dirlist
)
{
flist_free
(
fuzzy_dirlist
);
fuzzy_dirlist
=
NULL
;
fuzzy
_dirname
=
""
;
parent
_dirname
=
""
;
}
if
(
missing_below
>=
0
)
{
dry_run
--
;
...
...
@@ -832,8 +832,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
}
else
{
if
(
fuzzy_basis
&&
S_ISREG
(
file
->
mode
))
{
char
*
dn
=
file
->
dirname
?
file
->
dirname
:
"."
;
if
(
fuzzy
_dirname
!=
dn
&&
strcmp
(
fuzzy
_dirname
,
dn
)
!=
0
)
{
if
(
parent
_dirname
!=
dn
&&
strcmp
(
parent
_dirname
,
dn
)
!=
0
)
{
if
(
fuzzy_dirlist
)
flist_free
(
fuzzy_dirlist
);
if
(
implied_dirs
||
stat
(
dn
,
&
st
)
==
0
)
...
...
@@ -841,7 +841,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
else
fuzzy_dirlist
=
NULL
;
}
fuzzy
_dirname
=
dn
;
parent
_dirname
=
dn
;
}
statret
=
link_stat
(
fname
,
&
st
,
...
...
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