Skip to content
Snippets Groups Projects
Forked from Hammer / hammer
Source project has a limited visibility.
  • Sven M. Hallberg's avatar
    add h_alloc() which calls errx() on failure and use it for all basic allocation · 3fc56a0d
    Sven M. Hallberg authored
    Rationale: "Basic allocation" refers to things outside of parsing proper,
    mostly initialization. If such allocations fail, the system is globally
    emory-starved from which it will likely not recover by returning failure.
    In this case, terminating the process is in fact the most robust strategy as
    it may mean the difference between a permanent hang and a temporary crash.
    3fc56a0d
    History