--- - branch: MAIN date: Sun Aug 30 13:53:02 UTC 2020 files: - new: '1.226' old: '1.225' path: src/usr.bin/make/job.c pathrev: src/usr.bin/make/job.c@1.226 type: modified id: 20200830T135302Z.7088cb048472f78972b0140e12953f366c9c34a9 log: "make(1): remove ineffective malloc_options variable\n\nAccording to jemalloc(3), the variable must be called _malloc_options,\nwith a leading underscore, to have an effect.\n\nRenaming the variable indeed enables the option. There's not much point\nhaving this variable around though, since it neither detects a trivial\ndouble-free nor freeing an invalid pointer in the following code\nsnippet:\n\n\tchar *asdf = bmake_malloc(10);\n\tfprintf(stderr, \"%c\\n\", *asdf);\n\tfree(asdf + 8);\n\tfree(asdf);\n\tfree(asdf);\n\texit(1);\n\nInstead, it just crashes with a segmentation fault.\n" module: src subject: 'CVS commit: src/usr.bin/make' unixtime: '1598795582' user: rillig