taylor@hpldat.UUCP (Dave Taylor) (05/08/87)
From: Andy Linton <seismo!mcvax!cheviot.ncl.ac.uk!andy@hplabs.HP.COM> Subject: Bug in input_utils.c To: hpldat!taylor@hplabs.HP.COM Date: Thu, 7 May 87 11:34:35 +0100 This manifests itself when exiting from elm and you are prompted for the things to do with deleted messages and saving to mailbox. The replies are not intepreted correctly due to a bug in want_to() which can be found in input_utils.c The new version of input_utils.c includes <ctype.h> which defines tolower as macro - this results in the wrong character being returned by want_to. Fix is trivial - add an #undef tolower This is already done throughout the rest of the code! e.g. /** input_utils.c **/ /** Mindless I/O routines for ELM (C) Copyright 1985 Dave Taylor **/ #include "headers.h" #include <errno.h> #include <ctype.h> #undef tolower extern int errno; /* system error number */ -- SENDER : Andy Linton PHONE : +44 91 232 9233 ARPA : andy%cheviot.newcastle.ac.uk@cs.ucl.ac.uk JANET : andy@uk.ac.newcastle.cheviot UUCP : andy@cheviot.UUCP