Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-28 | Simplified r_mkdir() | Bert Münnich | |
2015-10-28 | Revised error handling | Bert Münnich | |
- Functions warn() and die() replaced by GNU-like error(3) function - Register cleanup() with atexit(3) - Functions called by cleanup() are marked with CLEANUP and are not allowed to call exit(3) | |||
2015-10-28 | Prefix safe allocation functions with 'e' instead of 's_' | Bert Münnich | |
2015-10-28 | Removed unnecessary buffer size constants | Bert Münnich | |
2015-10-28 | Use XSI realpath(3) | Bert Münnich | |
2015-10-28 | Use POSIX.1-2008 getline(3) | Bert Münnich | |
2015-10-28 | Removed feature test macro definitions from source files | Bert Münnich | |
2015-10-28 | Removed overcautious parameter checks | Bert Münnich | |
2014-08-22 | Bug #165: Deletion of unnecessary null pointer checks | Markus Elfring | |
The function "free" performs input parameter validation. http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html It is therefore not needed to check a passed pointer before this function call. A corresponding update suggestion was generated by the software "Coccinelle" from the following semantic patch approach. http://coccinelle.lip6.fr/ @Remove_unnecessary_pointer_checks1@ expression x; @@ -if (x != \(0 \| NULL\)) free(x); @Remove_unnecessary_pointer_checks2@ expression x; @@ -if (x != \(0 \| NULL\)) { free(x); x = \(0 \| NULL\); -} @Remove_unnecessary_pointer_checks3@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) +if (a) free(b); @Remove_unnecessary_pointer_checks4@ expression a, b; @@ -if (a != \(0 \| NULL\) && b != \(0 \| NULL\)) { +if (a) { free(b); b = \(0 \| NULL\); } Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> | |||
2014-08-01 | Made argument of s_strdup const | lucas8 | |
2014-06-10 | Create thumbnail cache dir automatically | Bert Münnich | |
2013-02-11 | Ignore dotfiles for -r | Bert Münnich | |
2013-02-08 | Refactored function definitions to use dangling brace | Bert Münnich | |
2013-02-08 | Updated/corrected license header | Bert Münnich | |
2012-02-15 | Already in the year 2012 | Bert Münnich | |
2012-02-11 | Removed slideshow support | Bert Münnich | |
2011-10-14 | Updated contact information | Bert Münnich | |
2011-10-13 | Strictly adhere to ANSI-C standard | Bert Münnich | |
2011-10-12 | Use void for empty argument lists | Bert Münnich | |
2011-09-29 | Made all conditionals more precise | Bert Münnich | |
2011-09-29 | Transformed function macros in util.h to inline functions | Bert Münnich | |
2011-09-26 | Added STREQ macro | Bert Münnich | |
2011-09-26 | make use of EXIT_ macros | rck | |
2011-09-10 | Added slideshow support | Bert | |
2011-09-08 | Strict conformance to IEEE Std 1003.1-2001 | Bert | |
2011-09-06 | Avoid conflicting macros | Bert | |
2011-09-03 | Reformated license header | Bert | |
2011-09-02 | Data driven timeout handling | Bert | |
2011-08-19 | Added support for gif animation | Bert | |
2011-08-18 | Corrected FSF address in license headers | Bert | |
2011-08-18 | Revised handling of file names & paths | Bert | |
2011-07-26 | Major code refactoring | Bert | |
- Configurable key and mouse mappings in config.h - Put event handling code from main.c into events.[ch] | |||
2011-05-29 | Use getline instead of readline | Bert | |
2011-04-08 | Refactored recursive directory util functions | Bert | |
2011-04-07 | Moved read_dir_rec into util.c | Bert | |
2011-04-07 | Use directory structure in cache dir | Bert | |
2011-04-07 | Write cache file for thumbnail directly after creating it | Bert | |
2011-04-07 | Write thumbnail cache files on exit | Bert | |
2011-02-15 | Fixed empty lines in readline() | Bert | |
2011-02-14 | More appropriate buffer sizes | Bert | |
2011-02-14 | Read filenames from stdin | Bert | |
2011-02-03 | Display filesize in window title | Bert | |
2011-02-03 | Fixed die/warn in util.c | Bert | |
2011-02-03 | Refactored, new files util.[ch], C89 | Bert | |