On 09/10/2013 11:24 AM, Jakub Filak wrote: Anyway, str2hash() is the fifth implementation of same functionality in
abrt project and I would moved it to some common library (libreport xfuncs or so) and replace all existing implementations with str2hash() function.
Other str2hex() implementors: src/lib/kernel.c src/plugins/abrt-action-analyze-backtrace.c src/plugins/abrt-action-analyze-python.c src/plugins/abrt-action-analyze-c.c
Good idea, we can do that as a separate patch.
Please review patch v2.