XA doesn't find "rar" ArchiveType even though it has been added to the list...
Status: Abandoned
Brought to you by:
gt67
Currently window.c:341 reads:
if (!g_list_find (ArchiveType,ext))
This searches the list for a pointer to particular instance of the extension string. On my system this leads to failure to find "rar", despite the list does contain such a string. It's just that this is another copy of this literal. The more correct way to search would be something like this:
if (!g_list_find_custom (ArchiveType,ext,strcmp))
This fixed version does work correctly for me (although it complains about conversion of strcmp to GCompareFunc, but it's just because of mismatch of void* and char*).
Hello Ruslan,
thank you so much indeed for your comment. I will include your fix in the
next SVN revision.
Have a lovely day
Giuseppe
--
Anti aging stem cell based cosmeceuticals, business for anyone
https://www.facebook.com/antiagingeurope/
On 9 June 2017 at 07:31, Ruslan Kabatsayev zozzozzz@users.sf.net wrote: