Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace calls to strcmp() with a u_strcmp() function that uses only
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
7a0db27
..
7592069
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-757,8
+757,8
@@
int file_compare(struct file_struct **f1,struct file_struct **f2)
if (!(*f1)->basename) return -1;
if (!(*f2)->basename) return 1;
if ((*f1)->dirname == (*f2)->dirname)
if (!(*f1)->basename) return -1;
if (!(*f2)->basename) return 1;
if ((*f1)->dirname == (*f2)->dirname)
- return strcmp((*f1)->basename, (*f2)->basename);
- return strcmp(f_name(*f1),f_name(*f2));
+ return
u_
strcmp((*f1)->basename, (*f2)->basename);
+ return
u_
strcmp(f_name(*f1),f_name(*f2));
}
}