Date: Tue, 11 Feb 1997 21:39:18 +1100 From: Bruce Evans <bde@zeta.org.au> To: chad@anasazi.com, freebsd-stable@freebsd.org Subject: Re: 2.1.7 update missed (at least) one Message-ID: <199702111039.VAA16231@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>*** snake_saver.c.old Tue Feb 11 01:01:21 1997
>--- snake_saver.c Tue Feb 11 01:03:01 1997
>***************
>*** 45,51 ****
> static void
> snake_saver(int blank)
> {
>! const char saves[] = {"FreeBSD-2.1.6"};
> static u_char *savs[sizeof(saves)-1];
> static int dirx, diry;
> int f;
>--- 45,51 ----
> static void
> snake_saver(int blank)
> {
>! const char saves[] = {"FreeBSD-2.1.7"};
> static u_char *savs[sizeof(saves)-1];
> static int dirx, diry;
> int f;
This can be fixed better using `sprintf(buf, "%s-%s", ostype, osrelease);'
(modulo a buffer overrun or two :-).
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702111039.VAA16231>
