Skip to content
Snippets Groups Projects
  1. Aug 27, 2012
    • Yorhel's avatar
      Use uint64_t instead of ino_t · cabb5529
      Yorhel authored
      POSIX defines ino_t to be of an unsigned integer type, and searching
      around the net didn't tell me of any definitions conflicting that. So
      every ino_t can be represented in an uint64_t. (Assuming that is the
      largest integer type in use for an inode number, but I'm sure that
      assumption will hold for a while)
      
      (dev_t, on the other hand, is a bit messier. Still figuring out what to
      do with that.)
      cabb5529
    • Yorhel's avatar
      Use int instead of long for struct dir->items · a61c784b
      Yorhel authored
      2 billion files should be enough for everyone. You probably won't have
      enough memory to scan such a filesystem. int is a better choice than
      long, as sizeof(int) is 4 on pretty much any system where ncdu runs.
      a61c784b
    • Yorhel's avatar
      Use int64_t instead of off_t · 73690f8f
      Yorhel authored
      *Should* be equivalent, but having a clearly standardised width is much
      better.
      73690f8f
    • Yorhel's avatar
      Added -u option to change the scan UI · 44e63ce2
      Yorhel authored
      This allows scanning stuff without initializing ncurses. Not too useful
      at this point since ncdu will switch to an ncurses environment when it's
      done anyway, but this will become more useful when the export-to-file
      feature has been implemented.
      44e63ce2
  2. Aug 26, 2012
  3. Aug 21, 2012
  4. Aug 18, 2012
  5. Aug 16, 2012
  6. May 21, 2012
  7. Jan 18, 2012
  8. Nov 03, 2011
  9. Oct 31, 2011
  10. Sep 09, 2011
  11. Aug 13, 2010
  12. Jul 19, 2010
  13. Jul 18, 2010
    • Yorhel's avatar
      browser.c: Got rid of the 'line' format string · 791612dc
      Yorhel authored
      This solution is far cleaner. Thanks to Ben North for pointing me to the
      *-width-specifier that has apparently been built into the printf-family
      functions for, well, quite a while, it seems.
      791612dc
  14. Apr 28, 2010
  15. Apr 27, 2010
Loading