Jump (-j) doesn't work

Forums:

$ mocp -j15% Segmentation fault (core dumped) $ mocp -j15s Segmentation fault (core dumped)

version 2.6 svn revision 2935 on Debian/Ubuntu

Hi blaze,
Thank you for those reports, I will look into them and report further to mocmaint.

For this one, I have successfuly reproduced. For the others, we may have additional questions about your setup.

Seems to be a case of extra call to poptGetOptArg(). Fixed by:

Index: main.c =================================================================== --- main.c (revision 2941) +++ main.c (working copy) @@ -1021,7 +1021,6 @@ options_ignore_config ("ASCIILines"); break; case CL_JUMP: - arg = poptGetOptArg (ctx); params.jump_to = get_num_param (arg, &jump_type); if (*jump_type) if (!jump_type[1])

"tomasz"'s patch committed as r2942.