This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Tiny fix for misc/error.c


Hi!

This change
#v+
2005-07-19  Ulrich Drepper  <drepper@redhat.com>

[...]
	* misc/error.c: Fix memory leak and possibly endless loop.
#v-
... made the build of glibc HEAD fail on (at least) GNU/Hurd:

#v+
[...]
error.c: In function `error_tail':
error.c:181: error: `bool' undeclared (first use in this function)
error.c:181: error: (Each undeclared identifier is reported only once
error.c:181: error: for each function it appears in.)
error.c:181: error: syntax error before "use_malloc"
error.c:189: error: `use_malloc' undeclared (first use in this function)
error.c:201: error: `true' undeclared (first use in this function)
error.c:211: error: `SIZE_MAX' undeclared (first use in this function)
#v-

A fix is attached.


Regards,
 Thomas

Attachment: glibc-misc_error-bool,SIZE_MAX.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]