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
7212be92
Commit
7212be92
authored
Nov 24, 1998
by
David Dykstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't list cleaned-out duplicate file names as "<NULL>" when doing
list_only mode; skip them instead.
parent
44e2e578
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
flist.c
flist.c
+4
-0
No files found.
flist.c
View file @
7212be92
...
@@ -58,6 +58,10 @@ static void list_file_entry(struct file_struct *f)
...
@@ -58,6 +58,10 @@ static void list_file_entry(struct file_struct *f)
char
*
perm_map
=
"rwxrwxrwx"
;
char
*
perm_map
=
"rwxrwxrwx"
;
int
i
;
int
i
;
if
(
!
f
->
basename
)
/* this can happen if duplicate names were removed */
return
;
for
(
i
=
0
;
i
<
9
;
i
++
)
{
for
(
i
=
0
;
i
<
9
;
i
++
)
{
if
(
f
->
mode
&
(
1
<<
i
))
perms
[
9
-
i
]
=
perm_map
[
8
-
i
];
if
(
f
->
mode
&
(
1
<<
i
))
perms
[
9
-
i
]
=
perm_map
[
8
-
i
];
}
}
...
...
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