🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven McCanne Wed, 23 Dec 1992 01:33
old bug in valarith.c (gdb-4.7)
#541
Author: Steven McCanne
Date: Wed, 23 Dec 1992 01:33
24 lines
1331 bytes
Someone posted this fix about four versions ago.  It must have gotten
lost since it still isn't in (as of 4.7).

Steve
-----
*** /tmp/,RCSt1a05227	Tue Dec 22 17:27:02 1992
--- valarith.c	Tue Dec 22 17:24:08 1992
***************
*** 400,406 ****
        if ((TYPE_UNSIGNED (VALUE_TYPE (arg1))
  	   || TYPE_UNSIGNED (VALUE_TYPE (arg2)))
  	  && (TYPE_LENGTH (VALUE_TYPE (arg1)) >= sizeof (unsigned LONGEST)
! 	      || TYPE_LENGTH (VALUE_TYPE (arg1)) >= sizeof (unsigned LONGEST)))
  	{
  	  unsigned LONGEST v1, v2, v;
  	  v1 = (unsigned LONGEST) value_as_long (arg1);
--- 400,406 ----
        if ((TYPE_UNSIGNED (VALUE_TYPE (arg1))
  	   || TYPE_UNSIGNED (VALUE_TYPE (arg2)))
  	  && (TYPE_LENGTH (VALUE_TYPE (arg1)) >= sizeof (unsigned LONGEST)
! 	      || TYPE_LENGTH (VALUE_TYPE (arg2)) >= sizeof (unsigned LONGEST)))
  	{
  	  unsigned LONGEST v1, v2, v;
  	  v1 = (unsigned LONGEST) value_as_long (arg1);
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads