Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
87001ac
)
Got rid of unused function u_strcmp().
author
Wayne Davison
<wayned@samba.org>
Fri, 20 Jan 2006 00:14:04 +0000
(
00:14
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 20 Jan 2006 00:14:04 +0000
(
00:14
+0000)
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
a574315
..
75a3e23
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1001,22
+1001,6
@@
int handle_partial_dir(const char *fname, int create)
return 1;
}
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
/**
* Determine if a symlink points outside the current directory tree.
* This is considered "unsafe" because e.g. when mirroring somebody