head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.54 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.50 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.46 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-3-PATCH002:1.2 Makefile:1.1.1.1 FreeBSD-current-1997-09-25:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.3 date 98.05.22.13.52.13; author frueauf; state dead; branches; next 1.2; 1.2 date 97.10.13.12.48.01; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.11.21.55.01; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.10.11.21.55.01; author hubertf; state Exp; branches; next ; desc @@ 1.3 log @Make this work with MANZ and tidy up patchfiles; don't patch the same file in n patchfiles, just one per patch for better maintainance. @ text @--- team.c.orig Mon Oct 13 13:29:41 1997 +++ team.c Mon Oct 13 13:33:42 1997 @@@@ -97,6 +97,10 @@@@ # undef F_SETLKW #endif +#if (defined(BSD) && BSD >= 199306) +# undef F_SETLKW +#endif + #if (PCG) # include "Extend.h" # include "Here.h" @@@@ -107,6 +111,7 @@@@ # define fast register # define global /* extern */ # define local static +# define When case # define when break; case # define otherwise break; default # define mode(which,name) typedef which name name; which name @@@@ -355,7 +360,7 @@@@ switch (fd->status) { - when FdEOF: return 0; + When FdEOF: return 0; when FdERROR: return -1; when FdCLOSED: return -1; @@@@ -396,7 +401,7 @@@@ switch (fd->status) { - when FdEOF: return 0; + When FdEOF: return 0; when FdERROR: return -1; when FdCLOSED: return -1; @@@@ -578,7 +583,7 @@@@ while ((received = GuyRECEIVE(guy,&token,&status,&done)) && token != TokenSTOP) switch (token) { - when TokenREAD: + When TokenREAD: FdIn.status = status; Mesg(("GuyStart reading %d chars\n",bufsize)); @@@@ -996,7 +1001,7 @@@@ while ((opt = getopt(argc,argv,"vri:o:")) != -1) switch (opt) { - when 'i': + When 'i': isize = atos(optarg); if (isize < TeamLVOLSZ || isize > TeamHVOLSZ) { @ 1.2 log @Mark FreeBSD RCS Id as such. Make this compile on NetBSD: + __FreeBSD__ -> (defined(BSD) && BSD >= 199306) + eliminate compiler warnings by working around unusual definition in switch statement. + change the man directory location to reflect NetBSD reality. @ text @@ 1.1 log @Initial revision @ text @d1 57 a57 15 *** team.c.ORIG Fri Dec 13 16:26:50 1996 --- team.c Fri Dec 13 16:28:14 1996 *************** *** 94,99 **** --- 94,103 ---- # undef F_SETLKW #endif + #ifdef __FreeBSD__ + # undef F_SETLKW + #endif + #if (PCG) # include "Extend.h" # include "Here.h" @ 1.1.1.1 log @Import as of 09/25/97 @ text @@