[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with odf driver
From: |
Ben Pfaff |
Subject: |
Re: problem with odf driver |
Date: |
Tue, 23 Feb 2010 10:13:11 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Michel Boaventura <address@hidden> writes:
> On my windows 7 64bits, the odf driver don't work. Debugging it, I've
> found that pspp creates the odf-xxxx folder inside install dir, which
> lead us back
> on the problem with psppire.txt, talked some time ago. It should write
> the folder on users home, because non-admin users can't write on
> system folders.
>
> Second, the line above won't work on windows. 'mv' on windows is
> 'move', and also windows doesn't have a 'zip' executable by default.
> odt.c:399 => "cd %s ; rm -f ../%s; zip -q -X ../%s mimetype; zip -q
> -X -u -r ../%s .",
>
> There is no way to create this using build-in functions?
I might take a few hours to write code to create a .zip file.
It looks like it's pretty trivial as long as you don't bother
with actual compression. I think the hardest part is probably
writing the CRC-32 function.
--
Ben Pfaff
http://benpfaff.org
Re: problem with odf driver, Ben Pfaff, 2010/02/24