efreetd - fix loading of extra_icons.dirs and icon.exts to not lose char
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 13 Apr 2015 00:38:35 +0000 (09:38 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 13 Apr 2015 00:45:29 +0000 (09:45 +0900)
commite05eb13f702c3addb4ac6261ff5a84f2cf4fd065
treea54633d9660e5e095937e035caa668f1e4f79892
parent6b493430df51eb7b89910c86bec6497a2c6eea53
efreetd - fix loading of extra_icons.dirs and icon.exts to not lose char

efreetd was losing the last char on every line of extra_icon.dirs and
icon.exts thus resulting in gradual degredation of these files as more
and more changes happen to have things like:

.jpeg
.jpe
.jp
.j
.

etc. for extension or dirs like

/home/raster/.e/e/icons
/home/raster/.e/e/icon
/home/raster/.e/e/ico
...
/home/ras
/home/ra
/home/r
...
/ho
/h
/

.. you get the idea. before long the list of extra icon dirs (and
extensions) was massigve and caued all sorts of filesystem rummaging.
this fixes that to no longer degrade these files. this also changes
their names to force new files to be used instead of the broken old
ones.
src/bin/efreet/efreetd_cache.c