mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
malloc: Run tests without calling mallopt [BZ #19469]
The compiled tests no longer refer to the mallopt symbol from their main functions. (Some tests still call mallopt explicitly, which is fine.)
This commit is contained in:
@ -346,8 +346,10 @@ main (int argc, char *argv[])
|
||||
unsigned int timeoutfactor = 1;
|
||||
pid_t termpid;
|
||||
|
||||
#ifndef TEST_NO_MALLOPT
|
||||
/* Make uses of freed and uninitialized memory known. */
|
||||
mallopt (M_PERTURB, 42);
|
||||
#endif
|
||||
|
||||
#ifdef STDOUT_UNBUFFERED
|
||||
setbuf (stdout, NULL);
|
||||
|
Reference in New Issue
Block a user