public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix for reported cris-axis-elf breakage
@ 2005-03-23  2:05 Hans-Peter Nilsson
  2005-03-23  4:35 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Peter Nilsson @ 2005-03-23  2:05 UTC (permalink / raw)
  To: binutils

I wonder why this wasn't seen when <name withheld> was testing
the patch...  Please commit, I don't have my keys here.

2005-03-22  Hans-Peter Nilsson  <hp@axis.com>

	* hash.c (strtab_hash_newfunc): Fix typo in allocated size.


Index: hash.c
===================================================================
RCS file: /cvs/src/src/bfd/hash.c,v
retrieving revision 1.15
diff -c -p -u -p -r1.15 hash.c
cvs diff: conflicting specifications of output style
--- hash.c	22 Mar 2005 16:14:41 -0000	1.15
+++ hash.c	22 Mar 2005 20:19:30 -0000
@@ -555,7 +555,7 @@ strtab_hash_newfunc (struct bfd_hash_ent
   /* Allocate the structure if it has not already been allocated by a
      subclass.  */
   if (ret == NULL)
-    ret = bfd_hash_allocate (table, sizeof (* entry));
+    ret = bfd_hash_allocate (table, sizeof (* ret));
   if (ret == NULL)
     return NULL;
 
brgds, H-P

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fix for reported cris-axis-elf breakage
  2005-03-23  2:05 Fix for reported cris-axis-elf breakage Hans-Peter Nilsson
@ 2005-03-23  4:35 ` Hans-Peter Nilsson
  2005-03-23 16:07   ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Peter Nilsson @ 2005-03-23  4:35 UTC (permalink / raw)
  To: binutils

> Date: Tue, 22 Mar 2005 21:22:17 +0100
> From: Hans-Peter Nilsson <hp@axis.com>

> 2005-03-22  Hans-Peter Nilsson  <hp@axis.com>
> 
> 	* hash.c (strtab_hash_newfunc): Fix typo in allocated size.

Now committed as obvious.

brgds, H-p

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fix for reported cris-axis-elf breakage
  2005-03-23  4:35 ` Hans-Peter Nilsson
@ 2005-03-23 16:07   ` Nick Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2005-03-23 16:07 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: binutils

Hi Hans-Peter,


>>2005-03-22  Hans-Peter Nilsson  <hp@axis.com>
>>
>>	* hash.c (strtab_hash_newfunc): Fix typo in allocated size.

> Now committed as obvious.

*sigh*  Thanks very much for finding and fixing my typo.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-23  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-23  2:05 Fix for reported cris-axis-elf breakage Hans-Peter Nilsson
2005-03-23  4:35 ` Hans-Peter Nilsson
2005-03-23 16:07   ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).