#endif
#include "vunify.h"
-#include "wrappers-dirent.h"
#include "util.h"
#include <lib/vserver.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
+#include <errno.h>
+#include <wait.h>
+#include <fcntl.h>
+
+#define ENSC_WRAPPERS_IO 1
+#define ENSC_WRAPPERS_FCNTL 1
+#define ENSC_WRAPPERS_DIRENT 1
+#define ENSC_WRAPPERS_UNISTD 1
+#define ENSC_WRAPPERS_STDLIB 1
+#include <wrappers.h>
int wrapper_exit_code = 1;
" done (in combination with '-v')\n"
" -v ... verbose mode\n"
" -x ... do not cross filesystems; this is valid in manual\n"
- " mode only and will be ignored for vserver unification\n"
+ " mode only and will be ignored for vserver unification\n\n"
"Please report bugs to " PACKAGE_BUGREPORT "\n");
#if 0
" -C ... use cached excludelists; usually they will be\n"
exit(0);
}
-#include "vunify-compare.ic"
+#include "vunify-compare.hc"
// Returns 'false' iff one of the files is not existing, or of the files are different/not unifyable
static bool
FatalErrnoError(safeChdir(path, exp_stat)==-1, "safeChdir()");
}
-#include "vunify-doit.ic"
+#include "vunify-doit.hc"
static bool
doit(struct MatchList const *mlist,
global_info.state = old_state;
}
-#include "vunify-init.ic"
+#include "vunify-init.hc"
int main(int argc, char *argv[])
{