Marion Hakanson wrote: > When you run "qemu -h", help() is called with optarg==NULL, which > causes a segfault on my system (Solaris-10U3_x86, 64-bit kernel, > but qemu compiled as 32-bit app, gcc-3.4.5 from blastwave.org). > It's a side-effect of the -r1.315 patch which fixed related segfaults. > > The following patch fixes the "-h" segfault, and also appears to yield > the exit value intended by previous folks.
Thanks, I committed a fix which I hope is better. Thiemo