1. 25 Mar, 2017 1 commit
  2. 29 Dec, 2016 1 commit
    • Tomasz Kramkowski's avatar
      Replace all uses of sprintf with snprintf · 2b5c1b4b
      Tomasz Kramkowski authored
      In all the cases where sprintf was being used within htop, snprintf
      could have been used. This patch replaces all uses of sprintf with
      snprintf which makes sure that if a buffer is too small to hold the
      resulting string, the string is simply cut short instead of causing
      a buffer overflow which leads to undefined behaviour.
      
      `sizeof(variable)` was used in these cases, as opposed to `sizeof
      variable` which is my personal preference because `sizeof(variable)`
      was already used in one way or another in other parts of the code.
      2b5c1b4b
  3. 26 May, 2016 1 commit
  4. 02 Feb, 2016 1 commit
  5. 12 Jan, 2016 1 commit
  6. 02 Dec, 2015 1 commit
  7. 17 Sep, 2015 1 commit
  8. 19 Aug, 2015 1 commit
    • David Hunt's avatar
      Rename String to StringUtils. · 5e602f18
      David Hunt authored
      Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
      
      From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
      From: David Hunt <dhunt@iolanthe.attlocal.net>
      Date: Sat, 11 Jul 2015 20:56:31 -0500
      Subject: [PATCH 1/8] Rename String to StringUtils
      5e602f18
  9. 15 May, 2015 1 commit
    • Christian Hesse's avatar
      fix compiler warnings · 08829cbc
      Christian Hesse authored
      gcc gives warnings like this:
      
      warning: ignoring return value of ‘fscanf’, declared with attribute
      warn_unused_result
      
      Assign value to a variable, cast to (void) to discard it.
      08829cbc
  10. 23 Mar, 2015 2 commits
  11. 22 Apr, 2014 1 commit
  12. 05 Dec, 2012 1 commit
  13. 10 Nov, 2012 1 commit
  14. 03 Jan, 2012 1 commit
  15. 26 Dec, 2011 1 commit
  16. 24 Sep, 2011 1 commit
  17. 24 Aug, 2010 1 commit
  18. 31 Jul, 2010 1 commit
  19. 25 Feb, 2010 1 commit
  20. 08 Jun, 2009 1 commit
  21. 02 Jun, 2009 1 commit
  22. 09 Mar, 2008 1 commit
  23. 24 Aug, 2006 1 commit
  24. 11 Jul, 2006 1 commit
    • Hisham Muhammad's avatar
      Performance improvement hackathon: improve process comparison routines, · 5d48ab8c
      Hisham Muhammad authored
      disable useless code in release builds such as runtime type-checking on
      dynamic data structures and process fields that are not being computed,
      faster(?) method for verifying the process owner (still need to ensure
      correctness), don't destroy and create process objects for hidden kernel
      threads over and over. Phew. I shouldn't be doing all this today, but I
      could not resist.
      5d48ab8c
  25. 06 Jun, 2006 1 commit
  26. 03 Jun, 2006 1 commit
  27. 30 May, 2006 2 commits
  28. 09 May, 2006 1 commit
  29. 23 Mar, 2006 1 commit
  30. 04 Mar, 2006 1 commit