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
dd7fb70f
Commit
dd7fb70f
authored
Jan 09, 2004
by
J.W. Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished the last_* renameing and fixed a cast..
parent
30f337c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
flist.c
flist.c
+7
-7
No files found.
flist.c
View file @
dd7fb70f
...
...
@@ -357,7 +357,7 @@ static void send_file_entry(struct file_struct *file, int f,
unsigned
short
flags
;
static
time_t
modtime
;
static
mode_t
mode
;
static
DEV64_T
last_rdev
;
static
DEV64_T
rdev
;
/* just high bytes after p28 */
static
uid_t
uid
;
static
gid_t
gid
;
static
DEV64_T
dev
;
...
...
@@ -385,19 +385,19 @@ static void send_file_entry(struct file_struct *file, int f,
mode
=
file
->
mode
;
if
(
preserve_devices
)
{
if
(
protocol_version
<
28
)
{
if
(
IS_DEVICE
(
mode
)
&&
file
->
rdev
==
last_
rdev
)
{
if
(
IS_DEVICE
(
mode
)
&&
file
->
rdev
==
rdev
)
{
/* Set both flags so that the test when
* writing the data is simpler. */
flags
|=
SAME_RDEV_pre28
|
SAME_HIGH_RDEV
;
}
else
last_
rdev
=
file
->
rdev
;
rdev
=
file
->
rdev
;
}
else
if
(
IS_DEVICE
(
mode
))
{
if
((
file
->
rdev
&
~
0xFF
)
==
last_
rdev
)
if
((
file
->
rdev
&
~
0xFF
)
==
rdev
)
flags
|=
SAME_HIGH_RDEV
;
else
last_
rdev
=
file
->
rdev
&
~
0xFF
;
rdev
=
file
->
rdev
&
~
0xFF
;
}
}
if
(
file
->
uid
==
uid
)
...
...
@@ -519,7 +519,7 @@ static void receive_file_entry(struct file_struct **fptr,
{
static
time_t
modtime
;
static
mode_t
mode
;
static
DEV64_T
rdev
;
static
DEV64_T
rdev
;
/* just high bytes after p28 */
static
uid_t
uid
;
static
gid_t
gid
;
static
DEV64_T
dev
;
...
...
@@ -613,7 +613,7 @@ static void receive_file_entry(struct file_struct **fptr,
file
->
rdev
=
(
DEV64_T
)
read_int
(
f
);
rdev
=
file
->
rdev
&
~
0xFF
;
}
else
file
->
rdev
=
(
DEV64_T
)(
rdev
|
read_byte
(
f
)
);
file
->
rdev
=
rdev
|
(
DEV64_T
)
read_byte
(
f
);
}
}
...
...
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