[OpenAFS-devel] free beer
Brent Graveland
brent@graveland.net
24 Jun 2003 12:50:08 -0600
--=-vnD9wi3uOrKfty3v/B9O
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2003-06-23 at 13:53, Jim Rees wrote:
> My offer of a free beer stands until I commit the fix to my last embarassing
> blunder, at which time it goes to theo (who spotted the mistake first but
> isn't on the openafs-devel list).
>
> Meanwhile, I'm going to put strlcpy and strlcat into afs/afs_util.c, and
> encourage all of you to use it.
Does this count for beer ? :)
Makes it work for me with today's openbsd-current.
--
Brent Graveland
brent@graveland.net
--=-vnD9wi3uOrKfty3v/B9O
Content-Description:
Content-Disposition: inline; filename=openafs.diff
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
? i386_obsd34
? src/comerr/y.tab.h
Index: src/afs/OBSD/osi_machdep.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/openafs/src/afs/OBSD/osi_machdep.h,v
retrieving revision 1.11
diff -u -r1.11 osi_machdep.h
--- src/afs/OBSD/osi_machdep.h 23 Jun 2003 20:27:39 -0000 1.11
+++ src/afs/OBSD/osi_machdep.h 24 Jun 2003 18:45:05 -0000
@@ -84,6 +84,7 @@
#define afs_strcasecmp(s1, s2) strncasecmp((s1), (s2), 65535)
#ifdef AFS_OBSD34_ENV
#define strcpy(s1, s2) afs_strcpy((s1), (s2))
+#define strcat(s1, s2) afs_strcat((s1), (s2))
#else
#define afs_strcat(s1, s2) strcat((s1), (s2))
#endif
Index: src/lwp/Makefile.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/openafs/src/lwp/Makefile.in,v
retrieving revision 1.20
diff -u -r1.20 Makefile.in
--- src/lwp/Makefile.in 23 Jun 2003 22:46:19 -0000 1.20
+++ src/lwp/Makefile.in 24 Jun 2003 18:45:09 -0000
@@ -53,7 +53,7 @@
${AS} process.ss -o process.o ; \
$(RM) -f process.S ;;\
i386_*bsd* ) \
- /usr/bin/cpp -P ${srcdir}/process.i386.s > process.ss; \
+ /usr/bin/cpp -P -I${TOP_INCDIR} ${srcdir}/process.i386.s > process.ss; \
${AS} -o process.o process.ss; \
$(RM) process.ss ;; \
ncrx86_* | sunx86_*) \
--=-vnD9wi3uOrKfty3v/B9O--