Comment 3 for bug 71177

Revision history for this message
Tatsuya Noda (topia) wrote :

> % /usr/bin/cronolog --unknown-longopt
> [1] 10748 segmentation fault (core dumped) /usr/bin/cronolog --unknown-longopt

This problem caused by not null-terminated long_options near src/cronolog.c:142.

> struct option long_options[] =
> {
...
> { "version", no_argument, NULL, 'V' }
> };

BTW, Maybe we need to do s/--prevlink/--prev-symlink/g in manual page.