It's a silly description, but it's hard to shorten. Most often I use pqiv as `qiv -n .`. For some dirs it result in a crash. I learned that the segfault seems to go away if I change: options = (char**)g_malloc((argc + 250) * sizeof(char*)); into: options = g_new0(char*, argc + 250); Any idea what causes the crash ?
Phillip, care to look at this?
Sorry, I guess I forgot to include a patch against this in 0.7. Please test if http://www.pberndt.com/raw//Programme/Linux/pqiv/_download/pqiv-0.7.1.tbz fixes the bug (unpack, ./configure, make and ./qiv <somedir>)
Rafał?
Sorry, for ignoring. While I do use it, it worked for me with my fix and wasn't a priority in the first place. But, yeah, it looks like this +1 in g_malloc works too.
Or, was it NULL-terminating options array ? Anyway, it's OK now.
> Or, was it NULL-terminating options array ? Correkt ;) Samuli, please create an ebuild for the package linked above.
(In reply to comment #6) > > Or, was it NULL-terminating options array ? > Correkt ;) > > Samuli, please create an ebuild for the package linked above. > Done. Thanks, closing..