[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem editing file

From: Michel Boaventura
Subject: Re: Problem editing file
Date: Fri, 20 Mar 2009 00:19:48 -0300

> There is no other way to do it if you want to make it safe and
> keep the SPSS file format.  We can do it, if you are willing to
> risk losing the original copy if something goes wrong in the
> middle of the operation, or if you are willing to abandon the
> SPSS data file format.  But I do not think that either one of
> those is a good choice.

You are right. Really theres no way to do that, unless you have a
least 4GB of ram, and
let the file on it. :D

> Does it take something more complex than Open followed by Save to
> trigger the problem?

No, I just open the file, change anything on it and click on save.

As John figure it out, if we put "unlink (rf->file_name);" above the
"rename" call, it works.
If the file was really closed, this is a odd behavior.

I'm also trying to use one windows function to do it (MoveFileEx). Let
see if it works.

reply via email to

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