Hi!
While checking and rewriting the man pages, I am trying all command line
options. The long "--scale-y" option triggers a segfault:
(gdb) bt
#0 0x402fb189 in __strtol_internal () from /lib/libc.so.6
#1 0x0804ee31 in parse_arguments (argc=5, argv=0xbffffab4,
cl_options=0xbffffa20, savegame_name=0xbfffca1c)
at /usr/include/stdlib.h:362
#2 0x0804f562 in main (argc=5, argv=0xbffffab4) at main.c:818
#3 0x402e765f in __libc_start_main () from /lib/libc.so.6
This is probably because of this (in main.c):
struct option options[] = {
[...]
{"scale-x", required_argument, 0, 'x'},
{"scale-y", no_argument, 0, 'y'},
Still, I find it strange that this triggers a segfault, since it even
segfaults if no scale factor is given (e.g. "freesci --scale-y").
The short "-y" option, as well as "-x" and "--scale-x" work OK.
--
Kind regards,
+---------------------------------------------------------------+
| Bas Zoetekouw | Si l'on sait exactement ce |
|--------------------------------| que l'on va faire, a quoi |
| [EMAIL PROTECTED] | bon le faire? |
| [EMAIL PROTECTED] | Pablo Picasso |
+---------------------------------------------------------------+