| 1437 | } |
| 1438 | |
| 1439 | static void |
| 1440 | malloc_conf_init(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS]) { |
| 1441 | const char *opts_cache[MALLOC_CONF_NSOURCES] = {NULL, NULL, NULL, NULL}; |
| 1442 | char buf[PATH_MAX + 1]; |
| 1443 | |
| 1444 | /* The first call only set the confirm_conf option and opts_cache */ |
| 1445 | malloc_conf_init_helper(NULL, NULL, true, opts_cache, buf); |
| 1446 | malloc_conf_init_helper(sc_data, bin_shard_sizes, false, opts_cache, |
| 1447 | NULL); |
| 1448 | } |
| 1449 | |
| 1450 | #undef MALLOC_CONF_NSOURCES |
| 1451 |
no test coverage detected