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

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

PSPP-BUG: [bug #26542] pspp doesn't select the right folder to save its


From: Michel Boaventura
Subject: PSPP-BUG: [bug #26542] pspp doesn't select the right folder to save its output on Windows
Date: Tue, 12 May 2009 16:40:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.0.10) Gecko/2009042708 Fedora/3.0.10-1.fc10 Firefox/3.0.10

URL:
  <http://savannah.gnu.org/bugs/?26542>

                 Summary: pspp doesn't select the right folder to save its
output on Windows
                 Project: PSPP
            Submitted by: michelboaventura
            Submitted on: Tue May 12 16:40:30 2009
                Category: Compilation/Portability
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The last master branch doesn't change the right folder to sabe its output
files on Windows. Looking at the source of 'src/data/file-name.c' seems like
it is making a mistake.

Both HOMEPATH and HOMEDRIVE environment on windows use backslash as a folder
separator, but pspp expects a slash.

I make the patch above, and it seems to fix it, but I don't know if this is
the best way.

Another issue is that this peace of code is inside an "#ifdef WINDOWS32", but
on every other ifdef like this the variable being used is WIN32. Is this
right?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue May 12 16:40:30 2009  Name: change_backslash_slash.patch  Size:
746B   By: michelboaventura

<http://savannah.gnu.org/bugs/download.php?file_id=18128>

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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