[comp.sources.bugs] Official patch #9 for calctool v2.4; please apply it.

richb@sunaus.oz (Rich Burridge) (03/17/90)

So much for my promise of no more patches. This fixes up a problem David
Karr reported to this newsgroup about a week ago. If an operator (+,-,x or /)
is used between the sto operator and the register number, calctool hung.

This patch fixes that. All this just to add one line.

I also get a lot of requests for various patches to calctool plus the
latest source to be sent to people all over the world. Would anybody be
willing to make calctool v2.4 (patchlevel #9) available via anon ftp or a
UUCP mail server in the US and Europe to help me out here please?

    Rich Burridge (richb@Aus.Sun.COM)

------CUT HERE------patch.9------CUT HERE------

This is official patch #9 for calctool v2.4; please apply it.

It makes the following change:

    *  From David M. Karr <trnds!cheetos!dave@uunet.UU.NET>
       Calctool hangs if the sto function is used with one of +,-,x or /
       operators before giving the register number.


------- functions.c -------
*** /tmp/da5646	Sat Mar 17 23:27:33 1990
--- functions.c	Sat Mar 17 23:23:19 1990
***************
*** 505,510 ****
--- 505,511 ----
                                    break ;
                         case '=' : mem_vals[char_val(current)] = disp_val ;
                       }  
+                    pending_op = 0 ;
                     make_registers() ;
        }                 
    else if (current == '+' || current == '-' ||

------- README -------
*** /tmp/da5649	Sat Mar 17 23:27:34 1990
--- README	Sat Mar 17 23:24:17 1990
***************
*** 78,85 ****
  Thanks go also to James Buster, David Weaver, Steve Damron, Mike Bender,
  Charles Tierney, Trevor Watson, Marla Berg, David Hough, Jeff Donsbach,
  Mel Melchner, Peter Allott, Skip Gilbrech, Tom Friedel, Keith McNeill
! Stephen Frede and Johan Vromans for bug reports and/or bug fixes plus
! sugggested enhancements.
  
  Suggestions for furthur improvement would be most welcome, plus bugs,
  comments and flames.
--- 78,85 ----
  Thanks go also to James Buster, David Weaver, Steve Damron, Mike Bender,
  Charles Tierney, Trevor Watson, Marla Berg, David Hough, Jeff Donsbach,
  Mel Melchner, Peter Allott, Skip Gilbrech, Tom Friedel, Keith McNeill
! Stephen Frede, Johan Vromans and David Karr for bug reports and/or bug
! fixes plus sugggested enhancements.
  
  Suggestions for furthur improvement would be most welcome, plus bugs,
  comments and flames.

------- patchlevel.h -------
*** /tmp/da5652	Sat Mar 17 23:27:34 1990
--- patchlevel.h	Sat Mar 17 23:17:03 1990
***************
*** 14,17 ****
   *  reported to me then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  8
--- 14,17 ----
   *  reported to me then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  9

------- CHANGES -------
*** /tmp/da5655	Sat Mar 17 23:27:35 1990
--- CHANGES	Sat Mar 17 23:20:04 1990
***************
*** 197,199 ****
--- 197,207 ----
      *  From Sisira Jayasinghe <spsisira@sdrc.UUCP>
         Have included better error detecting routines for addition,
         subtraction, multiplication and division supplied by Sisira.
+ 
+ v2.4 - patchlevel 9. - Posted to comp.sources.bugs (March 1990).
+ 
+   Changes:
+ 
+     *  From David M. Karr <trnds!cheetos!dave@uunet.UU.NET>
+        Calctool hangs if the sto function is used with one of +,-,x or /
+        operators before giving the register number.

jk@r6.uucp (John Kewley ICL) (03/21/90)

	I've got patches 5,6,8 and 9 to calctool, does
anyone have patch 7?

        J.K.
 
John M. Kewley                         ICL
                                       Wenlock Way,
Tel:   (+44) 61 223 1301 X2138         West Gorton,
EXAC:  J.Kewley @ UK03                 Manchester.
Email: jk@r6.cs.man.ac.uk              M12 5DR

ben@val.com (Ben Thornton) (03/22/90)

I need patches 1 through 4 for Calctool 2.4.  Could someone please
email me these?

Thanks in advance,
Ben Thornton

-- 

Ben Thornton             packet:  WD5HLS @ KB5PM   Internet:  ben@val.com
Video Associates Labs      uucp:  ...!cs.utexas.edu!val!ben
Austin, TX              fidonet:  1:382/40 - The Antenna Farm BBS