summaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)AuthorLines
2017-04-02Check malloc return value for NULL.Tobias Stoeckmann-1/+1
If malloc cannot allocate enough memory, it could return NULL. This is not necessarily true for default Linux settings, but can be provoked there as well by adjusting proc entries. Other systems like the *BSD ones definitely do this. The function _emalloc exists for exactly this purpose, so use it instead of calling malloc directly. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2014-04-14Use new path_is_url helper instead of repeated strncmp chainsDaniel Friesel-0/+9
2011-09-03utils.c: Remove unused functions stroflen, feh_get_tmp_dir, feh_get_user_nameDaniel Friesel-44/+0
2011-04-30Initial support for in-image warning display (closes #43)Daniel Friesel-4/+4
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-2/+1
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-169/+158
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+248