# Possible defines in CONF:
# IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR
-CC =gcc -traditional
+CC =gcc
LD =$(CC)
CONF =-DIS_SYSV -DHAS_DIRENT -DHAS_RENAME
CFLAGS =-O2 $(CONF)
+mmv (1.01b-12.1) unstable; urgency=low
+
+ * Non-Maintainer Upload (BSP 2005-08-06).
+ * Fixed FTBFS with gcc 3.4 / 4.0 by applying patch from
+ Andreas Jochens (Closes: #260574).
+
+ -- Uwe Hermann <uwe@debian.org> Sat, 6 Aug 2005 22:07:06 +0200
+
mmv (1.01b-12) unstable; urgency=low
* LFS support! (not sure if this breaks something :) (Closes: Bug #106822)
#endif
+#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <sys/stat.h>
#include <sys/file.h>
-extern char *getenv();
-extern long lseek();
-extern char *malloc();
-
#ifdef HAS_DIRENT
#include <dirent.h>
typedef struct dirent DIRENTRY;
static int snap(/* REP *first, REP *p */);
static void showdone(/* REP *fin */);
static void breakout(/* */);
-static int breakrep(/* */);
+static void breakrep(int);
static void breakstat(/* */);
static void quit(/* */);
static int copymove(/* REP *p */);
}
-static int breakrep()
+static void breakrep(int signum)
{
gotsig = 1;
- return(1);
+ return;
}