summaryrefslogtreecommitdiffstats
path: root/src/malloc_io.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix type warning on Windows.Qi Wang2018-04-091-14/+1
| | | | Add cast since read / write has unsigned return type on windows.
* Modify configure to determine return value of strerror_r.Christopher Ferris2018-01-111-1/+1
| | | | | | | | On glibc and Android's bionic, strerror_r returns char* when _GNU_SOURCE is defined. Add a configure check for this rather than assume glibc is the only libc that behaves this way.
* Header refactoring: move util.h out of the catchallDavid Goldblatt2017-04-191-0/+2
|
* Header refactoring: move malloc_io.h out of the catchallDavid Goldblatt2017-04-191-0/+1
|
* Header refactoring: Split up jemalloc_internal.hDavid Goldblatt2017-04-111-1/+2
| | | | | | | | | | | | | | This is a biggy. jemalloc_internal.h has been doing multiple jobs for a while now: - The source of system-wide definitions. - The catch-all include file. - The module header file for jemalloc.c This commit splits up this functionality. The system-wide definitions responsibility has moved to jemalloc_preamble.h. The catch-all include file is now jemalloc_internal_includes.h. The module headers for jemalloc.c are now in jemalloc_internal_[externs|inlines|types].h, just as they are for the other modules.
* Disentangle assert and utilDavid Goldblatt2017-03-061-0/+685
This is the first header refactoring diff, #533. It splits the assert and util components into separate, hermetic, header files. In the process, it splits out two of the large sub-components of util (the stdio.h replacement, and bit manipulation routines) into their own components (malloc_io.h and bit_util.h). This is mostly to break up cyclic dependencies, but it also breaks off a good chunk of the catch-all-ness of util, which is nice.