Official patch #9 for calctool v2.4; please apply it.

Rich Burridge richb at sunaus.oz
Sat Mar 17 23:41:14 AEST 1990


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 at 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 at 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 at 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 at uunet.UU.NET>
+        Calctool hangs if the sto function is used with one of +,-,x or /
+        operators before giving the register number.



More information about the Comp.sources.bugs mailing list