bug-gnu-pspp
[Top][All Lists]
Advanced

[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:27:10 +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 #7, bug #25795 (project pspp):

It works. I can save a file just clicking on the "SAVE" button.

What I did was change the "rename" to:
ok = MoveFileEx(rf->tmp_name, rf->file_name, MOVEFILE_REPLACE_EXISTING) != 0;


and insert an "#include <windows.h>" on the top of the file.

I need to use "!= 0" because it only returns zero if a error happens, the
opposite of rename.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25795>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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