Article View: comp.protocols.appletalk
Article #6246bug-fix 3 for UAB
From: Dan Oscarsson
Date: Sun, 25 Feb 1990 11:43
Date: Sun, 25 Feb 1990 11:43
32 lines
1328 bytes
1328 bytes
Here is a new patch to uab. It fixes an error where a struct contains
3 bytes and sizeof returns 4.
Dan
----------------------------patch----------------------------
Problem: UAB missing first byte from the received long DDP packet
*** ethertalk.c.org Fri Feb 23 10:47:41 1990
--- ethertalk.c Fri Feb 23 10:49:39 1990
***************
*** 304,310 ****
iov[0].iov_base = (caddr_t)&ea;
iov[0].iov_len = sizeof(ea);
iov[1].iov_base = (caddr_t)⪅
! iov[1].iov_len = sizeof(lap);
iov[2].iov_base = (caddr_t)rbuf;
iov[2].iov_len = sizeof(rbuf);
if ((cc = pi_readv(etph, iov, 3)) < 0) {
--- 304,310 ----
iov[0].iov_base = (caddr_t)&ea;
iov[0].iov_len = sizeof(ea);
iov[1].iov_base = (caddr_t)⪅
! iov[1].iov_len = lapSize;
iov[2].iov_base = (caddr_t)rbuf;
iov[2].iov_len = sizeof(rbuf);
if ((cc = pi_readv(etph, iov, 3)) < 0) {
Technical Details
Message-ID:
<1990Feb25.114302.11687@lth.se>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!lth.se!newsuserShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!lth.se!newsuser From: Dan@dna.lth.se (Dan Oscarsson) Newsgroups: comp.protocols.appletalk Subject: bug-fix 3 for UAB Message-ID: <1990Feb25.114302.11687@lth.se> Date: 25 Feb 90 11:43:02 GMT Sender: newsuser@lth.se (LTH network news server) Organization: Computer Science, Lund Institute of Technology, Sweden Lines: 32