[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #25795] Problem saving changes
From: |
Michel Boaventura |
Subject: |
PSPP-BUG: [bug #25795] Problem saving changes |
Date: |
Fri, 20 Mar 2009 03:13:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.0.7) Gecko/2009030519 Gentoo Firefox/3.0.7 |
Follow-up Comment #6, bug #25795 (project pspp):
On Windows theres is a function called
MoveFileEx:http://msdn.microsoft.com/en-us/library/aa365240(VS.85).aspx
It has two interesting options:
MOVEFILE_REPLACE_EXISTING: If a file named lpNewFileName exists, the function
replaces its contents with the contents of the lpExistingFileName file...
We could use:
ok = MoveFileEx(rf->tmp_name, rf->file_name, MOVEFILE_REPLACE_EXISTING) !=
0;
I will try it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25795>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/