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
d521e1c2
Commit
d521e1c2
authored
Nov 24, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Use write_shortint() to send the 2 bytes in an extended flag.
- Improved a comment.
parent
4ea4acf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
flist.c
flist.c
+2
-3
No files found.
flist.c
View file @
d521e1c2
...
...
@@ -396,8 +396,7 @@ static void send_file_entry(struct file_struct *file, int f)
flags
|=
XMIT_TOP_DIR
;
if
((
flags
&
0xFF00
)
||
!
flags
)
{
flags
|=
XMIT_EXTENDED_FLAGS
;
write_byte
(
f
,
flags
);
write_byte
(
f
,
flags
>>
8
);
write_shortint
(
f
,
flags
);
}
else
write_byte
(
f
,
flags
);
}
else
{
...
...
@@ -794,7 +793,7 @@ struct file_struct *make_file(char *fname, struct file_list *flist,
return
NULL
;
}
/*
We only care about
directories because we need to avoid recursing
/*
-x only affects
directories because we need to avoid recursing
* into a mount-point directory, not to avoid copying a symlinked
* file if -L (or similar) was specified. */
if
(
one_file_system
&&
st
.
st_dev
!=
filesystem_dev
...
...
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