This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2 2/2] realpath: don't lose errno on failure
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Eric Blake <eblake at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 02 Oct 2013 19:21:53 -0400
- Subject: Re: [PATCHv2 2/2] realpath: don't lose errno on failure
- Authentication-results: sourceware.org; auth=none
- References: <1380658974-28848-1-git-send-email-eblake at redhat dot com> <1380658974-28848-3-git-send-email-eblake at redhat dot com> <20131001221435 dot 761E32C08E at topped-with-meat dot com> <524B4AAE dot 1010703 at redhat dot com> <20131002155923 dot 2D6042C078 at topped-with-meat dot com>
On 10/02/2013 11:59 AM, Roland McGrath wrote:
> I'm not close to my libc tree or on a decent network today.
> Carlos and/or Siddhesh can help you out.
I checked and we don't have any examples that explicitly override
malloc-related functions.
Adding a test to glibc is almost like adding a stand-along program
so in that capacity it shouldn't be too hard.
Add the test by name to malloc/Makefile (tests).
Add the file into the malloc directory.
Then `make check' should build and run the test.
I always start with stand-alone programs and then move them
into the framework.
Cheers,
Carlos.