www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Sun, 6 Aug 2000 21:44:36 -0400 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: the directory named TEMP or TMP |
Message-ID: | <20000806214436.A9046@cygnus.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
References: | <Pine DOT LNX DOT 4 DOT 21 DOT 0008070155060 DOT 2349-100000 AT bitstorm DOT vc-graz DOT ac DOT at> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <Pine.LNX.4.21.0008070155060.2349-100000@bitstorm.vc-graz.ac.at>; from crf@sbox.tu-graz.ac.at on Mon, Aug 07, 2000 at 02:13:42AM +0200 |
On Mon, Aug 07, 2000 at 02:13:42AM +0200, Martin Pirker wrote: > >Hi! > >--- Corinna Vinschen <corinna AT vinschen DOT de> wrote: >> Cygwin itself doesn't need /tmp (nor does it ever >> need it) but many >> UNIX tools need it. Bash for example still warns the >> user if it can't >> find /tmp. >> >> However, if you use the current setup tool, it >> creates /tmp by itself. > > >I have a somewhat related problem: >Given: Unix program ported/crosscompiled with cygwin to run under Win. >-> Executable + cygwin1.dll on target machine, _no_ full cygwin >environment. >However unix code uses "tmpnam" for temp filename. >Creation of returned file "/tmp/whatever" fails... > >I think this is no miracle, since there's no full cygwin enviroment, >so where should /tmp files go to ? > >Options: >- Edit unix sources on all places with tmpnam >Not a good idea... >- Patch Cygwin somewhere so propor filenames are returned. >Don't like that either. >- Maybe this is setupable with a enviroment var ? >I have to assume the end users are too dumb to do this every time :/ > >- There's some magic to fix this better... >Now that would be nice :) > >Hints greatly appreciated..... I *really* don't understand the question. Why don't you just create /tmp? bash mkdir /tmp is this really that difficult a problem? cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |