Skip to content
Snippets Groups Projects
Select Git revision
  • zig default
  • master
  • zig-threaded
  • openat
  • chdir
  • clear
  • compll
  • v1.18.1
  • v2.2.2
  • v1.18
  • v2.2.1
  • v2.2
  • v1.17
  • v2.1.2
  • v2.1.1
  • v2.1
  • v2.0.1
  • v2.0
  • v2.0-beta3
  • v2.0-beta2
  • v2.0-beta1
  • v1.16
  • v1.15.1
  • v1.15
  • v1.14.2
  • v1.14.1
  • v1.14
27 results

dirlist.c

  • Yorhel's avatar
    bb7b4196
    Handle malloc failure by pausing any activity · bb7b4196
    Yorhel authored
    This is a best-effort approach to save ncdu state when memory is low.
    There's likely allocation in libraries that isn't being checked
    (ncurses, printf).
    
    Fixes #132 (it actually doesn't, that needs a 64bit static binary too,
    but I'll get to that)
    bb7b4196
    History
    Handle malloc failure by pausing any activity
    Yorhel authored
    This is a best-effort approach to save ncdu state when memory is low.
    There's likely allocation in libraries that isn't being checked
    (ncurses, printf).
    
    Fixes #132 (it actually doesn't, that needs a 64bit static binary too,
    but I'll get to that)