[gnu.g++.bug] libg++ 1.35.1

schmidt@glacier.ics.uci.edu (Doug Schmidt) (07/22/89)

The latest release of libg++ 1.35.1 has a small bug in the gperf
perfect hash function utility.  Here's a patch that fixes it.
Please apply it.

thanks,

  Doug

*** keylist.cc.~1~	Sun Jul  2 21:44:53 1989
--- keylist.cc	Fri Jul 21 13:00:30 1989
***************
*** 688,694 ****
  					for (links = temp->link; links; links = links->link)
  						{
  							links->index = ++index;
! 							printf ("      %s\"%s\", %s%s\n", l_brace, temp->key, temp->rest, r_brace);
  						}
  				}
  
--- 688,694 ----
  					for (links = temp->link; links; links = links->link)
  						{
  							links->index = ++index;
! 							printf ("      %s\"%s\", %s%s\n", l_brace, links->key, links->rest, r_brace);
  						}
  				}
  
--
Master Swordsman speak of humility;             | schmidt@ics.uci.edu (ARPA)
Philosophers speak of truth;                    | office: (714) 856-4034
Saints and wisemen speak of the Tao of no doubt;
The moon, sun, and sea speaks for itself. -- Hiroshi Hamada