Fixed warning in fsutil.
This commit is contained in:
@@ -17,7 +17,7 @@ all: $(PROG)
|
|||||||
install: $(PROG)
|
install: $(PROG)
|
||||||
install -s $(PROG) ${DESTDIR}/bin/$(PROG)
|
install -s $(PROG) ${DESTDIR}/bin/$(PROG)
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ *.o *.lst *.dis $(PROG)
|
rm -rf *~ *.o *.lst *.dis $(PROG) $(PROG).dSYM
|
||||||
|
|
||||||
$(PROG): $(OBJS)
|
$(PROG): $(OBJS)
|
||||||
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
|||||||
@@ -131,7 +131,11 @@ static void add_entry (manifest_t *m, int filetype, char *path, char *link,
|
|||||||
/*
|
/*
|
||||||
* Compare two entries of file traverse scan.
|
* Compare two entries of file traverse scan.
|
||||||
*/
|
*/
|
||||||
|
#ifdef __APPLE__
|
||||||
|
static int ftsent_compare (const FTSENT *const *a, const FTSENT *const *b)
|
||||||
|
#else
|
||||||
static int ftsent_compare (const FTSENT **a, const FTSENT **b)
|
static int ftsent_compare (const FTSENT **a, const FTSENT **b)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
return strcmp((*a)->fts_name, (*b)->fts_name);
|
return strcmp((*a)->fts_name, (*b)->fts_name);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Skeleton of manifest file.
|
# Example of manifest file.
|
||||||
#
|
#
|
||||||
default
|
default
|
||||||
owner 0
|
owner 0
|
||||||
|
|||||||
Reference in New Issue
Block a user