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
added --backup-dir option from Bob Edwards
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
a653f14
..
14fa5a3
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-409,7
+409,8
@@
static int skip_filesystem(char *fname, STRUCT_STAT *st)
return (st2.st_dev != filesystem_dev);
}
return (st2.st_dev != filesystem_dev);
}
-static struct file_struct *make_file(int f, char *fname)
+/* create a file_struct for a named file */
+struct file_struct *make_file(int f, char *fname)
{
struct file_struct *file;
STRUCT_STAT st;
{
struct file_struct *file;
STRUCT_STAT st;
@@
-921,7
+922,7
@@
int flist_find(struct file_list *flist,struct file_struct *f)
/*
* free up one file
*/
/*
* free up one file
*/
-
static
void free_file(struct file_struct *file)
+void free_file(struct file_struct *file)
{
if (!file) return;
if (file->basename) free(file->basename);
{
if (!file) return;
if (file->basename) free(file->basename);