gis@datlog.co.uk ( Ian Stewartson ) (04/20/89)
Yesterday I mailed Syd Weinstein about a bug in ELM 2.2 relating to the
display of the folder directory. Basically, if you use c to change folder
and then ask to display the directory then on second and subsequent executions
first the help message and then a few other things get screwed up.
When I mailed the message I could not find out what was going wrong. After a
night's sleep I looked at it again and a C block (ie a pair of braces)
appears to be missing. The patch to quit.c is given below.
I also noticed that there is a redundant declaration of 'helpmsg' in savecopy.c
(not a problem unless you are still running on segmented rather than paged
Unix I think) - no patch for this one.
Otherwise, Elm 2.2 look good - thanks gentlemen.
- quit patch-
*** quit.c Tue Apr 18 09:08:56 1989
--- quit.new Thu Apr 20 10:59:53 1989
***************
*** 100,106 ****
/* user wants to list folders */
if(!*helpmsg) /* format helpmsg if not yet done */
!
strcpy(helpmsg,
"\n\r\n\rEnter: <nothing> to not change to a new folder,");
strcat(helpmsg,
--- 100,106 ----
/* user wants to list folders */
if(!*helpmsg) /* format helpmsg if not yet done */
! {
strcpy(helpmsg,
"\n\r\n\rEnter: <nothing> to not change to a new folder,");
strcat(helpmsg,
***************
*** 117,122 ****
--- 117,123 ----
" (leading '=' denotes your folder directory ");
strcat(helpmsg, folders);
strcat(helpmsg, ").\n\r");
+ }
list_folders(4, helpmsg);
PutLine0(LINES-2,0,"Name of new folder: "); /* reprompt */
--end of patch--