Eduard Bloch <[EMAIL PROTECTED]> wrote:
> > your problem is caused by a bug in the option parser (GNU getopt_long).
> >
> > The mkisofs version you are using is very old (> 1.5 years). Three months
> > ago, mkisofs has been converted to use the more mature and older (starting
> > 1982)
> > getargs(). This change fixed your problem and many other conceptional bugs
> > >from GNU getopt_long. GNU getopt_long is e.g. unable to correctly deal
> > >with
> > miss-spelled long options in case that the miss-spelling occurs after the
> > shortest common part of the option name.
>
> Maybe. Or maybe not. The big wrapper added by somebody (most likely you)
> around getopt action needs to be examined to say that for sure.
> But what does your "superiour" stuff do with miss-spelled options?
>
> $ mkisofs/OBJ/i686-linux-cc/mkisofs
> -input-charset-deliberate-mistake-but-with-correct-parameter iso8859-1 -o
> /dev/null .
I was never expecting that you understand CLI basics....
This is not related to my text above and mkisofs _does_ give an error message.
The problem I was referring to above will cause that string options will
silently get wrong parameters. And BTW: getargs allows you to contol the
behavior - GNU getopt_long does not ;-)
Just check:
< {{"input-charset*", &icharset },
---
> {{"input-charset* ", &icharset },
> And the encoding beeing default on Linux nowadays (UTF-8) is
> still not in the list. Those who want an isofs generator that cares about
> the user's setup (eg. detecting the charset encoding and supporting
> Unicode/UTF-8 input) can use genisoimage from http://www.cdrkit.org/.
It makes sense to not have a broken feature and to wait for a correct solution.
It is being worked on decent and correct UTF-8 support for mkisofs. This will
come soon. The UTF-8 implementation that is used in "cdrkit" has been rejected
for mkisofs because of serious bugs and because it's creators did refuse to
fix these bugs.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily