diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-compile.sh ftpcopy-0.6.7.modified/compile/auto-compile.sh --- ftpcopy-0.6.7/compile/auto-compile.sh 2009-05-04 22:33:28.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-compile.sh 2009-07-02 15:01:57.000000000 -0400 @@ -1,7 +1,7 @@ #! /bin/sh # automatically generated, do not edit exec \ -gcc \ +$CC \ -I. \ -DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-compiler-config.stamp ftpcopy-0.6.7.modified/compile/auto-compiler-config.stamp --- ftpcopy-0.6.7/compile/auto-compiler-config.stamp 2009-05-04 22:33:28.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-compiler-config.stamp 2009-07-02 15:04:17.000000000 -0400 @@ -10,7 +10,7 @@ #! /bin/sh # automatically generated, do not edit exec \ -gcc \ +$CC \ -I. \ -DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ @@ -19,14 +19,14 @@ #! /bin/sh # automatically generated, do not edit exec \ -gcc \ +$CC \ -I. \ -DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ -O2 -Wall -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ "$@" auto-link.sh exec \ -gcc \ +$CC \ -g3 \ -o "$@" auto-makelib.sh diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-compilew.sh ftpcopy-0.6.7.modified/compile/auto-compilew.sh --- ftpcopy-0.6.7/compile/auto-compilew.sh 2009-05-04 22:33:28.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-compilew.sh 2009-07-02 15:02:07.000000000 -0400 @@ -1,7 +1,7 @@ #! /bin/sh # automatically generated, do not edit exec \ -gcc \ +$CC \ -I. \ -DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ -O2 -Wall -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-config ftpcopy-0.6.7.modified/compile/auto-config --- ftpcopy-0.6.7/compile/auto-config 1969-12-31 19:00:00.000000000 -0500 +++ ftpcopy-0.6.7.modified/compile/auto-config 2009-07-02 15:38:11.000000000 -0400 @@ -0,0 +1,35 @@ +conf-cc +conf-ld +conf-ldflags +conf-cflags +conf-cflagsw +conf-ar +conf-ranlib +conf-libs +auto-compile.sh +#! /bin/sh +# automatically generated, do not edit +exec \ +$CC \ + -I. \ +-DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ +-O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ +"$@" +auto-compilew.sh +#! /bin/sh +# automatically generated, do not edit +exec \ +$CC \ + -I. \ +-DPACKAGE_VERSION=\"ftpcopy-0.6.7\" -DPACKAGE=\"ftpcopy\" -DVERSION=\"0.6.7\" -DPACKAGE_CLASS=\"web\" \ +-O2 -Wall -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ +"$@" +auto-link.sh +exec \ +$CC \ +-g3 \ +-o "$@" +auto-makelib.sh +# automatically generated, do not edit +ar cru "$@" +exec ranlib "$1" diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-have_futimes.h ftpcopy-0.6.7.modified/compile/auto-have_futimes.h --- ftpcopy-0.6.7/compile/auto-have_futimes.h 2009-05-04 22:33:31.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-have_futimes.h 2009-07-02 15:04:19.000000000 -0400 @@ -1,4 +1,4 @@ #ifndef auto_have_futimes_h #define auto_have_futimes_h -#define HAVE_FUTIMES /* systype-info: */ +#undef HAVE_FUTIMES /* systype-info: */ #endif diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-have_utimes.h ftpcopy-0.6.7.modified/compile/auto-have_utimes.h --- ftpcopy-0.6.7/compile/auto-have_utimes.h 2009-05-04 22:33:30.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-have_utimes.h 2009-07-02 15:04:18.000000000 -0400 @@ -1,4 +1,4 @@ #ifndef auto_have_utimes_h #define auto_have_utimes_h -#define HAVE_UTIMES /* systype-info */ +#undef HAVE_UTIMES /* systype-info */ #endif diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-iopause.h ftpcopy-0.6.7.modified/compile/auto-iopause.h --- ftpcopy-0.6.7/compile/auto-iopause.h 2009-05-04 22:33:30.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-iopause.h 2009-07-02 15:04:19.000000000 -0400 @@ -4,12 +4,14 @@ #include #include #include -#define IOPAUSE_POLL /* systype-info */ +#undef IOPAUSE_POLL /* systype-info */ +typedef struct { + int fd; + short events; + short revents; +} iopause_fd; -#include - -typedef struct pollfd iopause_fd; -#define IOPAUSE_READ POLLIN -#define IOPAUSE_WRITE POLLOUT +#define IOPAUSE_READ 1 +#define IOPAUSE_WRITE 4 #endif diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-link.sh ftpcopy-0.6.7.modified/compile/auto-link.sh --- ftpcopy-0.6.7/compile/auto-link.sh 2009-05-04 22:33:28.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-link.sh 2009-07-02 15:03:05.000000000 -0400 @@ -1,4 +1,4 @@ exec \ -gcc \ +$CC \ -g3 \ -o "$@" diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-systype ftpcopy-0.6.7.modified/compile/auto-systype --- ftpcopy-0.6.7/compile/auto-systype 2009-05-04 22:33:31.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-systype 2009-07-02 15:04:19.000000000 -0400 @@ -1,36 +1,36 @@ PACKAGE: ftpcopy 0.6.7 REALNAME: -uname-a: Linux athena 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/Linux +uname-a: Linux athena 2.6.27.23-0.1-pae #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux uname-s: Linux -uname-r: 2.6.27.19-3.2-pae -uname-v: #1 SMP 2009-02-25 15:40:44 +0100 +uname-r: 2.6.27.23-0.1-pae +uname-v: #1 SMP 2009-05-26 17:02:05 -0400 uname-m: i686 linux-ld.so: /lib/ld-2.9.so linux-libc.so: /lib/libc-2.9.so -#define SIZEOF_SHORT 2 /* systype-info */ -#define SIZEOF_INT 4 /* systype-info */ -#define SIZEOF_LONG 4 /* systype-info */ -#define SIZEOF_UNSIGNED_SHORT 2 /* systype-info */ -#define SIZEOF_UNSIGNED_INT 4 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG 4 /* systype-info */ -#define SIZEOF_LONG_LONG 8 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG_LONG 8 /* systype-info */ +#define SIZEOF_SHORT 126 /* systype-info */ +#define SIZEOF_INT 126 /* systype-info */ +#define SIZEOF_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_SHORT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_INT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG 126 /* systype-info */ +#define SIZEOF_LONG_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG_LONG 126 /* systype-info */ SOCKET: STDLIB /* systype-info */ #define HAVE_FSYNC /* systype-info */ -#define HAVE_UTIMES /* systype-info */ +#undef HAVE_UTIMES /* systype-info */ GETTIMEOFDAY: STDLIB /* systype-info */ -#define SIZEOF_SHORT 2 /* systype-info */ -#define SIZEOF_INT 4 /* systype-info */ -#define SIZEOF_LONG 4 /* systype-info */ -#define SIZEOF_UNSIGNED_SHORT 2 /* systype-info */ -#define SIZEOF_UNSIGNED_INT 4 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG 4 /* systype-info */ -#define SIZEOF_LONG_LONG 8 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG_LONG 8 /* systype-info */ +#define SIZEOF_SHORT 126 /* systype-info */ +#define SIZEOF_INT 126 /* systype-info */ +#define SIZEOF_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_SHORT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_INT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG 126 /* systype-info */ +#define SIZEOF_LONG_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG_LONG 126 /* systype-info */ #define HAVE_IPV6 1 /* systype-info */ #include /* systype-info for socklen_t */ #include /* systype-info for socklen_t */ #define IOPAUSE_SYS_SELECT_H /* systype-info */ -#define IOPAUSE_POLL /* systype-info */ -#define HAVE_FUTIMES /* systype-info: */ +#undef IOPAUSE_POLL /* systype-info */ +#undef HAVE_FUTIMES /* systype-info: */ diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-systype.lfs ftpcopy-0.6.7.modified/compile/auto-systype.lfs --- ftpcopy-0.6.7/compile/auto-systype.lfs 2009-05-04 22:33:28.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-systype.lfs 2009-07-02 15:04:16.000000000 -0400 @@ -1 +0,0 @@ -#define LARGE_FILE_SUPPORT "FOB-INTERFACE" /* systype-info */ diff --exclude CVS -uNr ftpcopy-0.6.7/compile/auto-typesize.h ftpcopy-0.6.7.modified/compile/auto-typesize.h --- ftpcopy-0.6.7/compile/auto-typesize.h 2009-05-04 22:33:29.000000000 -0400 +++ ftpcopy-0.6.7.modified/compile/auto-typesize.h 2009-07-02 15:04:18.000000000 -0400 @@ -1,8 +1,8 @@ -#define SIZEOF_SHORT 2 /* systype-info */ -#define SIZEOF_INT 4 /* systype-info */ -#define SIZEOF_LONG 4 /* systype-info */ -#define SIZEOF_UNSIGNED_SHORT 2 /* systype-info */ -#define SIZEOF_UNSIGNED_INT 4 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG 4 /* systype-info */ -#define SIZEOF_LONG_LONG 8 /* systype-info */ -#define SIZEOF_UNSIGNED_LONG_LONG 8 /* systype-info */ +#define SIZEOF_SHORT 126 /* systype-info */ +#define SIZEOF_INT 126 /* systype-info */ +#define SIZEOF_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_SHORT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_INT 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG 126 /* systype-info */ +#define SIZEOF_LONG_LONG 126 /* systype-info */ +#define SIZEOF_UNSIGNED_LONG_LONG 126 /* systype-info */ diff --exclude CVS -uNr ftpcopy-0.6.7/compile/ftpcopy.1.t ftpcopy-0.6.7.modified/compile/ftpcopy.1.t --- ftpcopy-0.6.7/compile/ftpcopy.1.t 1969-12-31 19:00:00.000000000 -0500 +++ ftpcopy-0.6.7.modified/compile/ftpcopy.1.t 2009-07-02 15:27:47.000000000 -0400 @@ -0,0 +1 @@ +.TH ftpcopy 1 2009-07-02 "" "User Commands" diff --exclude CVS -uNr ftpcopy-0.6.7/package/compile ftpcopy-0.6.7.modified/package/compile --- ftpcopy-0.6.7/package/compile 2004-08-10 05:44:09.000000000 -0400 +++ ftpcopy-0.6.7.modified/package/compile 2009-07-02 15:23:29.000000000 -0400 @@ -36,7 +36,7 @@ done } -doit documentation doc +#doit documentation doc if test -f package/finish ; then . package/finish fi diff --exclude CVS -uNr ftpcopy-0.6.7/package/install ftpcopy-0.6.7.modified/package/install --- ftpcopy-0.6.7/package/install 2004-08-10 05:44:09.000000000 -0400 +++ ftpcopy-0.6.7.modified/package/install 2009-07-02 14:50:57.000000000 -0400 @@ -1,5 +1,5 @@ #! /bin/sh -e package/packagecheck || exit 1 package/build -package/upgrade +#package/upgrade package/run diff --exclude CVS -uNr ftpcopy-0.6.7/src/Makefile ftpcopy-0.6.7.modified/src/Makefile --- ftpcopy-0.6.7/src/Makefile 2004-08-10 05:44:15.000000000 -0400 +++ ftpcopy-0.6.7.modified/src/Makefile 2009-07-02 15:27:43.000000000 -0400 @@ -5,7 +5,7 @@ INCLUDES=-I. -CC=gcc +#CC=gcc L=./auto-link.sh C=./auto-compile.sh W=./auto-compilew.sh @@ -27,8 +27,8 @@ #!T:testsort:testsort.c ssort.c:libunix.a libbyte.a -PREMAKE_TARGETS = ftpcopy ftpls ftpcp.1 ftpcopy.1 ftpls.1 ftpcopy.html \ -ftpls.html +#PREMAKE_TARGETS = ftpcopy ftpls ftpcp.1 ftpcopy.1 ftpls.1 ftpcopy.html \ +PREMAKE_TARGETS = ftpcopy ftpls PREMAKE_CLEANFILES = *.da *.bb *.bbg check.out conftest.c conftest \ conftest.o auto-socket.lib fsync.o auto-fsync.lib utimes.o \ diff --exclude CVS -uNr ftpcopy-0.6.7/src/guess-compiler.sh ftpcopy-0.6.7.modified/src/guess-compiler.sh --- ftpcopy-0.6.7/src/guess-compiler.sh 2004-07-26 10:21:56.000000000 -0400 +++ ftpcopy-0.6.7.modified/src/guess-compiler.sh 2009-07-02 15:20:11.000000000 -0400 @@ -121,37 +121,43 @@ # lfs() { >auto-systype.lfs - cat >conftest-$$.c < -#include -int main(void) -{ - off_t x=0; - printf("%d\n",8*sizeof(x)); - return 0; -} -EOF - $MYCC $MYCFLAGS -c conftest-$$.c # set -e cares for errors. - $MYLD $MYLDFLAGS -o conftest-$$ conftest-$$.o # dito. - x=`./conftest-$$` - rm -f conftest-$$ conftest-$$.* - if test "$x" -ge 64 ; then - echo '#define LARGE_FILE_SUPPORT "SYSTEM-INTERFACE" /* systype-info */' \ - >auto-systype.lfs - return - fi -cat >conftest-$$.c < -#include -int main(void) -{ - off_t x=0; - if (sizeof(x)>=8) - return 0; - return 1; -} + +# MPG - I built and ran this on the Freescall 8377 and it returned 32. + ## commenteing +# cat >conftest-$$.c < +##include +#int main(void) +#{ +# off_t x=0; +# printf("%d\n",8*sizeof(x)); +# return 0; +#} +#EOF +# $MYCC $MYCFLAGS -c conftest-$$.c # set -e cares for errors. +# $MYLD $MYLDFLAGS -o conftest-$$ conftest-$$.o # dito. +# x=`./conftest-$$` +# rm -f conftest-$$ conftest-$$.* +# if test "$x" -ge 64 ; then +# echo '#define LARGE_FILE_SUPPORT "SYSTEM-INTERFACE" /* systype-info */' \ +# >auto-systype.lfs +# return +# fi + +# MPG - this one returned 0 + +#cat >conftest-$$.c < +##include +#int main(void) +#{ +# off_t x=0; +# if (sizeof(x)>=8) +# return 0; +# return 1; +#} EOF $MYCC $MYCFLAGS -c conftest-$$.c # set -e cares for errors. $MYLD $MYLDFLAGS -o conftest-$$ conftest-$$.o # dito.