Subject: Alignement bug fixed in chat/irssi on sparc64
To: None <tech-pkg@netbsd.org, port-sparc64@netbsd.org>
From: Richard Braun <syn@sceen.net>
List: tech-pkg
Date: 06/26/2005 11:25:36
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello,
Here is a patch which fixes the alignement bug in irssi on sparc64 that
occurs when starting an external command using /exec :
$NetBSD$
--- work/irssi-0.8.9/src/fe-common/core/fe-exec.c.orig 2002-06-07 17:45:07.=
000000000 +0200
+++ work/irssi-0.8.9/src/fe-common/core/fe-exec.c
@@ -347,7 +347,7 @@ static void process_exec(PROCESS_REC *re
static void sig_exec_input_reader(PROCESS_REC *rec)
{
char tmpbuf[512], *str;
- unsigned int recvlen;
+ gsize recvlen;
int err, ret;
=20
g_return_if_fail(rec !=3D NULL);
As you can see, the fix was quite simple.
--=20
Richard Braun
--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFCvnSQBlWsEPLYRi8RAi5mAJ9gDifqvsKFNgko9qJoIBkdD+iJuACggm7Y
hPuBYXtwDl2ki+mQYxFkrD4=
=RVQZ
-----END PGP SIGNATURE-----
--WIyZ46R2i8wDzkSu--