This is the mail archive of the
mailing list for the glibc project.
Re: Possible bug in fortified stpncpy
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 9 Aug 2015 14:44:18 +0000
- Subject: Re: Possible bug in fortified stpncpy
- Authentication-results: sourceware.org; auth=none
- References: <CAKCAbMjJ9aVZhc9jvn3HOwkSViCEybXmg=buNDttwctCOxvKvg at mail dot gmail dot com> <20150809033233 dot GO30077 at vapier> <55C76182 dot 2090503 at panix dot com>
On Sun, 9 Aug 2015, Zack Weinberg wrote:
> (Is there a way to run just one subdirectory's tests? This was tedious
> to develop, what with string.h getting used basically everywhere.)
I routinely use "make PARALLELMFLAGS=-j8 math/tests".
However, if changing a header such as string.h I think it's a good idea to
run the full glibc build and full testsuite at least once, when you
believe your patch is working. That's the case even if you've verified
that the patch doesn't change the installed shared libraries at all (for
patches that aren't meant to change the installed libraries), because
header changes can break building testcases - I found several times when
fixing linknamespace bugs that a patch built glibc OK and passed conform/
tests but failed building a testcase in another directory.
Joseph S. Myers