Patch #: 128 Type: bug fix Priority: high Affects: sites using CAP volumes containing Applications Reported: David Hornsby Archived: munnari.OZ.AU mac/cap.patches/cap60.patch128 Application: 'cd cap60; patch -p < cap60.patches/cap60.patch128' Summary: fix handling of AFP FPGetAPPL() when index is zero Summary: "because the application program...could not be found." File: cap60/applications/aufs/afpdt.c *** applications/aufs/afpdt.c.orig Wed Jul 15 18:48:52 1992 --- applications/aufs/afpdt.c Tue Feb 16 22:53:40 1993 *************** *** 1,7 **** /* ! * $Author: djh $ $Date: 1992/07/15 08:48:16 $ ! * $Header: /mac/src/cap60/applications/aufs/RCS/afpdt.c,v 2.5 1992/07/15 08:48:16 djh Rel djh $ ! * $Revision: 2.5 $ */ /* --- 1,7 ---- /* ! * $Author: djh $ $Date: 1993/02/16 11:53:21 $ ! * $Header: /mac/src/cap60/applications/aufs/RCS/afpdt.c,v 2.6 1993/02/16 11:53:21 djh Rel djh $ ! * $Revision: 2.6 $ */ /* *************** *** 648,654 **** if ((ahead = dtFindAPPLList(dt, gap.gap_fcreator)) == NULL) return(aeItemNotFound); ! aidx = gap.gap_applidx; while ((ahead = ahead->an_next) != NULL) if ((ahead->an_flags & AN_DEL) == 0 && --aidx == 0) break; --- 648,655 ---- if ((ahead = dtFindAPPLList(dt, gap.gap_fcreator)) == NULL) return(aeItemNotFound); ! /* "an APPL index of zero returns the first APPL mapping" */ ! aidx = (gap.gap_applidx == 0) ? 1 : gap.gap_applidx; while ((ahead = ahead->an_next) != NULL) if ((ahead->an_flags & AN_DEL) == 0 && --aidx == 0) break; *** lib/cap/abversion.c.orig Fri Jan 15 00:17:08 1993 --- lib/cap/abversion.c Tue Feb 16 22:56:37 1993 *************** *** 1,7 **** /* ! * $Author: djh $ $Date: 1993/01/14 13:17:00 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.27 1993/01/14 13:17:00 djh Rel djh $ ! * $Revision: 2.27 $ */ /* --- 1,7 ---- /* ! * $Author: djh $ $Date: 1993/02/16 11:56:30 $ ! * $Header: /mac/src/cap60/lib/cap/RCS/abversion.c,v 2.28 1993/02/16 11:56:30 djh Rel djh $ ! * $Revision: 2.28 $ */ /* *************** *** 31,38 **** myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 127; ! myversion.cv_rmonth = "January"; myversion.cv_ryear = "1993"; switch (lap_proto) { case LAP_KIP: --- 31,38 ---- myversion.cv_name = "CAP"; myversion.cv_version = 6; myversion.cv_subversion = 0; ! myversion.cv_patchlevel = 128; ! myversion.cv_rmonth = "February"; myversion.cv_ryear = "1993"; switch (lap_proto) { case LAP_KIP: *** README.orig Fri Jan 15 00:15:35 1993 --- README Tue Feb 16 22:55:13 1993 *************** *** 2,8 **** CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 127, January 1993 Notice ------ --- 2,8 ---- CAP - Columbia AppleTalk Package for UNIX o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 128, February 1993 Notice ------