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
f608ebb1
Commit
f608ebb1
authored
Jan 20, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of unused function u_strcmp().
parent
87001ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
util.c
util.c
+0
-16
No files found.
util.c
View file @
f608ebb1
...
...
@@ -1001,22 +1001,6 @@ int handle_partial_dir(const char *fname, int create)
return
1
;
}
/** We need to supply our own strcmp function for file list comparisons
to ensure that signed/unsigned usage is consistent between machines. */
int
u_strcmp
(
const
char
*
cs1
,
const
char
*
cs2
)
{
const
uchar
*
s1
=
(
const
uchar
*
)
cs1
;
const
uchar
*
s2
=
(
const
uchar
*
)
cs2
;
while
(
*
s1
&&
*
s2
&&
(
*
s1
==
*
s2
))
{
s1
++
;
s2
++
;
}
return
(
int
)
*
s1
-
(
int
)
*
s2
;
}
/**
* Determine if a symlink points outside the current directory tree.
* This is considered "unsafe" because e.g. when mirroring somebody
...
...
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