[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: KDE does not recognice KWord docs
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-09-28 0:11:28
[Download RAW message or body]

On Sunday 28 September 2003 00:37, Nicolas Goutte wrote:
> On Saturday 27 September 2003 23:48, David Faure wrote:
> > On Saturday 27 September 2003 20:25, Nicolas Goutte wrote:
(...)
> > CVS says that KoZip was part of KOffice-1.2.x indeed. But:
> > > But in any case, I am really starting to ask me if for the last
> > > KOffice-own file format it is useful to have again a subtle change.
> > > However this would mean to force KZip 3.2 to be able to write in the
> > > "fat" modus, either on command or simply for uncompressed files.
> >
> > Yes, I think we shouldn't do something that changes our 'magic'
> > recognition: * other projects/tools/etc. might use the magic we had
> > previously, this change will break it * are we sure that the new offset
> > is always going to be 55? What's between position 30 and position 55?
> > This looks more fragile to me.
>
> I do not understand what "fragile" means here. It is the Unix extension.
> The only problem is that there are three kinds of Unix extensions. (The
> PKWARE one with id 0x000d, the InfoZIP old one with id 0x5855, the new one
> with id 0x7855.) KZip seems to have chosen the old one and does not support
> the other two, not even at read.

Thinking further, I suppose that what I described is more or less something 
what you thought of by using the word "fragile".

>
> But the biggest problem is the magic. Whenever you will use zip for example
> in a script, you will get other extensions depending on OS. (NTFS
> extension, the Unix ones, etc) It might also depend on other extensions

(I forgot Mac as important platform.)

> like certification and on comments. Therefore the goal of scriptability is
> not met with a fixed magic. (Good, we have magic and we cannot really
> change it.)

I have found, in zip's man page, that there is the option -K. It should work 
like we need, So scriptability will exist with InfoZIP's tool, no idea if 
PKWARE's has similar features.

>
(...)

Have a nice day!
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic