djh@cs.mu.oz.au (David Hornsby) (04/11/91)
Enclosed is a patch for a problem found when installing CAP 6.0 on a Pyramid. In essence, the code fails to correctly check the return of inet_addr() when parsing /etc/atalk.local. Thanks to Rakesh Patel. Also, from CAP60.README: > The primary source of CAP information is, as always, the network newsgroup > comp.protocols.appletalk. This forum will continue to be used to disseminate > information about CAP 6.0 updates, but we would very much like to encourage a > slightly more formal approach to the process of propogating CAP patches. > > Therefore, please send patches for CAP bug-fixes and new features to > > cap@munnari.OZ.AU > > Context diffs (from 'diff -c') are preferred, but not essential. Patches > received will be assigned a patch number, a priority and will be included in > regular (but not too frequent) CAP releases. In addition to then being sent > to comp.protocols.appletalk, the patches will be available via FTP from > various archive servers. I have quite a collection of *feature* patches now, thanks to the people who have contributed them. If you have anything appropriate, could I request that you send it to cap@munnari.OZ.AU before the first of May. I expect to have this round of feature patches available by about mid-May. Thanks, - David ------------------------- Patch #: 5 Type: bug fix Priority: high Affects: CAP with IPTalk on some hosts. Reported: Rakesh Patel <rapatel@khnphwzhn.njin.net> Archived: munnari.OZ.AU mac/cap.patches/cap60.patch005 Summary: IPTalk can fail to parse bridge IP address (compiler dependant) Date: Thu Apr 11 22:11:36 EST 1991 File: cap60/lib/cap/atalkdbm.c *** cap60/lib/cap/atalkdbm.c.orig Wed Mar 20 17:03:30 1991 --- cap60/lib/cap/atalkdbm.c Thu Apr 11 22:00:56 1991 *************** *** 1,7 **** /* ! * $Date: 91/03/20 16:52:56 $ ! * $Header: atalkdbm.c,v 2.4 91/03/20 16:52:56 djh Exp $ ! * $Revision: 2.4 $ * * mods for async appletalk support, /etc/etalk.local for EtherTalk and * changes for quoted zone names: djh@munnari.OZ.AU, 27/11/90 --- 1,7 ---- /* ! * $Date: 91/04/11 22:00:15 $ ! * $Header: atalkdbm.c,v 2.5 91/04/11 22:00:15 djh Exp $ ! * $Revision: 2.5 $ * * mods for async appletalk support, /etc/etalk.local for EtherTalk and * changes for quoted zone names: djh@munnari.OZ.AU, 27/11/90 *************** *** 429,435 **** struct hostent *host; if (isdigit(name[0])) { ! if ((ipaddr->s_addr = inet_addr(name)) < 0) return(-1); return(0); } --- 429,435 ---- struct hostent *host; if (isdigit(name[0])) { ! if ((ipaddr->s_addr = inet_addr(name)) == -1) return(-1); return(0); }