DERMOTT@DREA-XX.ARPA (Dave Dermott) (04/09/87)
More BUGS in MicroEmacs3.8b APR 8 1987 I found a few more bugs in MicroEmacs3.8b which caused an error in the ATARI ST goto-line command. Only 2 digits were accepted when it prompted for the line number. For some reason it worked on the VAX and IBMPC. Arguments to functions are mismatched. In BASIC.C, function gotoline() the last argument in mlreply() should be NSTRING rather than "". In EXEC.C , function nextarg() argument size should be declared int rather than char*. I also noticed that the arguments(f,n) to several functions(eg. gotoline()) in BASIC.C are not declared which seems like bad practice, if not illegal. Diffs from basic.c(old and new) ************ File BASIC.CO 96 if ((status = mlreply("Line to GOTO: ", arg, "")) != TRUE) { 97 mlwrite("[Aborted]"); ****** File BASIC.C 96 if ((status = mlreply("Line to GOTO: ", arg, NSTRING)) != TRUE) { 97 mlwrite("[Aborted]"); Diffs in EXEC.C ************ File EXEC.CO 381 char *size; /* size of the buffer */ 382 int terminator; /* terminating char to be used on interactive fetch */ ****** File EXEC.C 381 int size; /* size of the buffer */ 382 int terminator; /* terminating char to be used on interactive fetch */ ************ David Dermott DREA DARTMOUTH Novas Scotia -------