pspp-dev
[Top][All Lists]
Advanced

[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 22:29:15 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Ben Pfaff <address@hidden> writes:

> 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.

I did this tonight, so there is no need for a "zip" program on
master any longer.
-- 
"Welcome to the Slippery Slope. Here is your handbasket.
 Say, can you work 70 hours this week?"
--Ron Mansolino




reply via email to

[Prev in Thread] Current Thread [Next in Thread]