This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1331] New: malloc/obstack.h: invalid definition of obstack_int_grow_fast
- From: "vela at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Sep 2005 19:50:35 -0000
- Subject: [Bug libc/1331] New: malloc/obstack.h: invalid definition of obstack_int_grow_fast
- Reply-to: sourceware-bugzilla at sourceware dot org
In malloc/obstack.h, the non-GNU C definition of the obstack_int_grow_fast
macro has `aint' in the argument list, and `aptr' in the body:
--- malloc/obstack.h.orig
+++ malloc/obstack.h
@@ -446,7 +446,7 @@
(((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr))
# define obstack_int_grow_fast(h,aint) \
- (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr))
+ (((int *) ((h)->next_free += sizeof (int)))[-1] = (aint))
# define obstack_blank(h,length) \
( (h)->temp = (length), \
--
Summary: malloc/obstack.h: invalid definition of
obstack_int_grow_fast
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: vela at debian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=1331
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.