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
b435d717
Commit
b435d717
authored
Jan 19, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a new arg to the make_file() call.
parent
2a59d2cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
backup.c
backup.c
+1
-1
generator.c
generator.c
+2
-2
No files found.
backup.c
View file @
b435d717
...
...
@@ -180,7 +180,7 @@ static int keep_backup(char *fname)
if
(
do_lstat
(
fname
,
&
st
)
<
0
)
return
1
;
if
(
!
(
file
=
make_file
(
fname
,
NULL
,
NO_FILTERS
)))
if
(
!
(
file
=
make_file
(
fname
,
NULL
,
N
ULL
,
N
O_FILTERS
)))
return
1
;
/* the file could have disappeared */
if
(
!
(
buf
=
get_backup_name
(
fname
)))
...
...
generator.c
View file @
b435d717
...
...
@@ -1195,7 +1195,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
close
(
fd
);
return
;
}
if
(
!
(
back_file
=
make_file
(
fname
,
NULL
,
NO_FILTERS
)))
{
if
(
!
(
back_file
=
make_file
(
fname
,
NULL
,
N
ULL
,
N
O_FILTERS
)))
{
close
(
fd
);
goto
pretend_missing
;
}
...
...
@@ -1267,7 +1267,6 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
close
(
fd
);
}
void
generate_files
(
int
f_out
,
struct
file_list
*
flist
,
char
*
local_name
)
{
int
i
;
...
...
@@ -1430,6 +1429,7 @@ void generate_files(int f_out, struct file_list *flist, char *local_name)
* modified-time values. */
for
(
i
=
0
;
i
<
flist
->
count
;
i
++
)
{
struct
file_struct
*
file
=
flist
->
files
[
i
];
if
(
!
file
->
basename
||
!
S_ISDIR
(
file
->
mode
))
continue
;
if
(
!
need_retouch_dir_times
&&
file
->
mode
&
S_IWUSR
)
...
...
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