• Tim Rühsen's avatar
    Extend OOM handling · 89d7eae4
    Tim Rühsen authored
    * include/wget/wget.h: Amend type of wget_oom_callback_t
    * libwget/xalloc.c: Amend OOM handling
    * src/options.c (_no_memory): Return EXIT_FAILURE
    * unit-tests/test.c (main): Cast to avoid warning
    
    The OOM callback can now return 0 and the allocation function is tried again.
    89d7eae4
Name
Last commit
Last update
..
files Loading commit data...
Makefile.am Loading commit data...
buffer_printf_perf.c Loading commit data...
stringmap_perf.c Loading commit data...
test-cond.c Loading commit data...
test-cookies-http_state.c Loading commit data...
test-dl-dummy.c Loading commit data...
test-dl.c Loading commit data...
test-parse-html.c Loading commit data...
test.c Loading commit data...