On Sun, 29 Mar 2015 15:45:50 +0200 Silvan Jegen <s.je...@gmail.com> wrote:
Hey Silvan, > This is true. In a memory-overcommitting system like Linux, however, > this should not be a problem in practice since realloc should never fail. > > Nevertheless, Marc *may* take a patch for this issue. how often are you going to repeat this bullshit? You _always_ check the return-value, as overcommitting is insane and some hipster-crap which is anything but suckless. Just grep the vis-sources for *alloc and guard it with if's, or write simple alloc-wrappers as we did for sbase and ubase (emalloc, ereallocarray, ...). Cheers FRIGN -- FRIGN <d...@frign.de>