[242] in arla-drinkers
lib/roken/recvmsg.c incorrect
daemon@ATHENA.MIT.EDU (bpreece@unity.ncsu.edu)
Mon Sep 7 23:31:16 1998
From owner-arla-drinkers@stacken.kth.se Tue Sep 08 03:31:15 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 12731 invoked from network); 8 Sep 1998 03:31:14 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 8 Sep 1998 03:31:14 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id FAA06118
for arla-drinkers-list; Tue, 8 Sep 1998 05:11:26 +0200 (MET DST)
Received: from cc01du.unity.ncsu.edu (cc01du.unity.ncsu.edu [152.1.2.49])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id FAA06114
for <arla-drinkers@stacken.kth.se>; Tue, 8 Sep 1998 05:11:20 +0200 (MET DST)
From: bpreece@unity.ncsu.edu
Received: (from bpreece@localhost)
by cc01du.unity.ncsu.edu (8.8.4/UC02Jan97)
id XAA10109; Mon, 7 Sep 1998 23:11:13 -0400 (EDT)
Message-Id: <199809080311.XAA10109@cc01du.unity.ncsu.edu>
To: arla-drinkers@stacken.kth.se
Subject: lib/roken/recvmsg.c incorrect
Date: Mon, 07 Sep 98 23:11:12 EDT
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
On a linux box with antique libc, arla-0.9 compiles but fails.
The culprit appears to be the substitute recvmsg in lib/roken/recvmsg.c .
With this patch and some coercion to get arla to like my old
kerberos (lacks krb_get_err_text), arlad -t is able to fetch files:
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 recvmsg.c
--- recvmsg.c 1998/09/07 20:40:49 1.1.1.1
+++ recvmsg.c 1998/09/08 02:26:58
@@ -67,6 +67,7 @@
memcpy (iov->iov_base, p, cnt);
p += cnt;
nb -= cnt;
+ iov++;
}
free(buf);
return ret;