Index: quilt.changes =================================================================== RCS file: /sources/quilt/quilt/quilt.changes,v retrieving revision 1.393 diff -u -r1.393 quilt.changes --- quilt.changes 30 Jan 2006 10:47:56 -0000 1.393 +++ quilt.changes 30 Jan 2006 10:51:46 -0000 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jan 30 11:52:00 CET 2006 - address@hidden + +- Allow backup-files to build on windows using the MinGW compiler. + +------------------------------------------------------------------- Mon Jan 30 11:46:21 CET 2006 - address@hidden - Makefile.in: The trailing slash in `find compat/' is causing OSX Index: lib/backup-files.c =================================================================== RCS file: /sources/quilt/quilt/lib/backup-files.c,v retrieving revision 1.29 diff -u -r1.29 backup-files.c --- lib/backup-files.c 30 Jan 2006 10:32:19 -0000 1.29 +++ lib/backup-files.c 30 Jan 2006 10:51:46 -0000 @@ -50,6 +50,17 @@ # define PATH_MAX 4096 #endif +#ifdef __MINGW32__ +#define mkdir(x,y) mkdir(x) +/* Symlinks are not supported */ +#define lstat stat +static int link(const char *oldpath, const char *newpath) +{ + errno = ENOSYS; + return -1; +} +#endif + const char *progname; enum { what_noop, what_backup, what_restore, what_remove };