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:


** [bugs:#95] XA doesn't find "rar" ArchiveType even though it has been
added to the list in main.c**

Status: open
Group: v1.0 (example)
Created: Fri Jun 09, 2017 06:31 AM UTC by Ruslan Kabatsayev
Last Updated: Fri Jun 09, 2017 06:31 AM UTC
Owner: nobody

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*).


Sent from sourceforge.net because you indicated interest in <
https://sourceforge.net/p/xarchiver/bugs/95/>

To unsubscribe from further messages, please visit <
https://sourceforge.net/auth/subscriptions/>