diff -ur malsync/Makefile /sw/src/malsync-2.1.1-1/malsync/Makefile --- malsync/Makefile Sun Nov 17 10:52:53 2002 +++ /sw/src/malsync-2.1.1-1/malsync/Makefile Tue Jul 1 23:22:29 2003 @@ -15,10 +15,9 @@ endif TREETOP = . -PILOT_LINK_DIR = $(TREETOP)/pilot-link-0.11.5 CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \ - -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include \ + -I$(TREETOP)/mal/client/common -I$(PREFIX)/include \ -I$(TREETOP)/mal/client/unix ifeq ($(PLAT),Darwin) @@ -73,7 +72,7 @@ $(TARGET): $(OBJS) $(CC) $(DYNLINK) $(CFLAGS) -o $@ $(OBJS) \ - -L${PILOT_LINK_DIR}/libpisock/.libs -lpisock $(LINKLIBS) + -L$(PREFIX)/lib -lpisock $(LINKLIBS) clean: rm -f $(OBJS) $(TARGET) diff -ur malsync/mal/client/common/AGCommandProcessor.c /sw/src/malsync-2.1.1-1/malsync/mal/client/common/AGCommandProcessor.c --- malsync/mal/client/common/AGCommandProcessor.c Sun May 14 14:17:35 2000 +++ /sw/src/malsync-2.1.1-1/malsync/mal/client/common/AGCommandProcessor.c Tue Jul 1 23:10:28 2003 @@ -907,9 +907,9 @@ case AG_DEVICEINFO_CMD: case AG_NEWIDS_CMD: default: - #ifdef DEBUG_COMMANDS +#ifdef DEBUG_COMMANDS printf("\tThe server should have NEVER sent a %s command.\n", name); - #endif +#endif rc = AGCLIENT_ERR; break; } diff -ur malsync/mal/common/AGBufferedNet.c /sw/src/malsync-2.1.1-1/malsync/mal/common/AGBufferedNet.c --- malsync/mal/common/AGBufferedNet.c Sun May 14 14:17:36 2000 +++ /sw/src/malsync-2.1.1-1/malsync/mal/common/AGBufferedNet.c Tue Jul 1 23:09:47 2003 @@ -26,19 +26,19 @@ #ifdef __unix__ - #include +#include #endif // __unix__ /*************************************************************************************/ #ifdef __palmos__ - #define BUFSIZE 512 - #define ALMOST_INFINITE_TIMEOUT (10 * sysTicksPerSecond) +#define BUFSIZE 512 +#define ALMOST_INFINITE_TIMEOUT (10 * sysTicksPerSecond) #else - #define BUFSIZE 4096 +#define BUFSIZE 4096 #endif diff -ur malsync/mal/common/AGNet.c /sw/src/malsync-2.1.1-1/malsync/mal/common/AGNet.c --- malsync/mal/common/AGNet.c Sat Feb 9 11:14:20 2002 +++ /sw/src/malsync-2.1.1-1/malsync/mal/common/AGNet.c Tue Jul 1 23:24:11 2003 @@ -26,7 +26,8 @@ //#include (adam) temporary hack - comment out so it will build on ce #ifndef _WIN32 -#include //PENDING(klobad) not needed on palm or win remove?? +#include +//PENDING(klobad) not needed on palm or win remove?? #include #endif @@ -455,9 +456,9 @@ case EINPROGRESS: return AG_NET_WOULDBLOCK; #ifdef _HPUX_SOURCE - #ifndef DARWIN +#ifndef DARWIN case EWOULDBLOCK: - #endif +#endif #endif case EAGAIN: return AG_NET_WOULDBLOCK;