Patch #: 2 Type: bug fix Priority: medium Reported: Anders Liljegren Modification: remove stupid casting error in async.c for -u option Archived: munnari.OZ.AU mac/cap.patches/arns.patch002 Application: 'cd arns; patch -p < arns.patch002' *** clients/async.c.orig Sun Nov 29 23:23:10 1992 --- clients/async.c Sun Nov 29 23:23:37 1992 *************** *** 14,20 **** * started on the ARNS server host by inetd(8)) * * $Author: djh $ ! * $Revision: 1.3 $ * * */ --- 14,20 ---- * started on the ARNS server host by inetd(8)) * * $Author: djh $ ! * $Revision: 1.4 $ * * */ *************** *** 489,495 **** if (askUser) { do { fprintf(stderr, "login: "); ! fgets((char *)usernm, sizeof((char *)usernm), stdin); } while (usernm[0] == '\n'); if ((p = (char *)index(usernm, '\n')) != NULL) *p = '\0'; --- 489,495 ---- if (askUser) { do { fprintf(stderr, "login: "); ! fgets((char *)usernm, sizeof(usernm), stdin); } while (usernm[0] == '\n'); if ((p = (char *)index(usernm, '\n')) != NULL) *p = '\0'; *** README.orig Sun Nov 29 23:29:50 1992 --- README Sun Nov 29 23:29:53 1992 *************** *** 5,11 **** The University of Melbourne djh@munnari.OZ.AU January, 1992 ! version 1.1 ARNS is 'A Remote Network Server' package for AppleTalk that allows a --- 5,11 ---- The University of Melbourne djh@munnari.OZ.AU January, 1992 ! version 1.2 ARNS is 'A Remote Network Server' package for AppleTalk that allows a