www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/13/09:39:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3D590C0C.3060208@etr-usa.com>
Date: Tue, 13 Aug 2002 07:39:24 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: standalone cygwin programs that use "/tmp" don't work
References: <3D588AFB DOT 9D17EC0D AT cs DOT waikato DOT ac DOT nz>

(duplicate post -- I sent the previous one to cygapps-l by mistake)

John R. McPherson wrote:
 >
 > Other than forcing users to create a "X:\\tmp" directory (or doing this
 > during installation) or modifying the source code for these 3rd-party
 > packages, is there any way to get the dll to use windows's %TEMP%
 > or %TMPDIR% environment variables?

You need to look into the way Cygwin handles the mount table.  For your
purposes, it would probably be enough to simply set up a mount for /tmp
to point to the user's %TEMP% during your normal installation process.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019