bug-gnustep
[Top][All Lists]
Advanced

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

MinGW problem with /tmp in gdomap.c


From: Wim Oudshoorn
Subject: MinGW problem with /tmp in gdomap.c
Date: Tue, 24 Feb 2004 14:56:49 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (darwin)

If no one complains, I am going to commit the following
patch.

Problem
-------
On window machines that do not have a X:\tmp 
directory gdomap will not start.  
(Where X is the drive of the current working directory)

Reason
------
gdomap has the following offending line:

       if (chdir ("/tmp") < 0)

Solution
--------
Put the chdir part of code behind a 
    
    #ifndef __MINGW__ 

guard.


Wim Oudshoorn.

Attachment: gdomap.patch
Description: Fix problem with /tmp on MinGW


reply via email to

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