--- multitail-5.2.2.ori/Makefile Mon May 19 11:19:09 2008 +++ multitail-5.2.2/Makefile Wed May 6 15:37:03 2009 @@ -6,7 +6,7 @@ DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic -CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" +CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o --- multitail-5.2.2.ori/exec.c Mon May 19 11:19:09 2008 +++ multitail-5.2.2/exec.c Wed May 6 15:34:59 2009 @@ -77,13 +77,15 @@ posix_version = getenv("_POSIX2_VERSION"); /* follow filename is only supported on *BSD and Linux */ -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__) if (follow_filename) { -#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) +#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__)) pars[npars++] = "--follow=name"; #elif defined(__OpenBSD__) pars[npars++] = "-f"; +#elif defined(__Busybox__) + pars[npars++] = "-f"; #else pars[npars++] = "-F"; #endif @@ -95,7 +97,7 @@ else #endif { -#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) +#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__) if (follow_filename && gnu_tail) pars[npars++] = "--follow=name"; #endif