delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/30/11:27:28

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
Message-ID: <3B1510F5.8BCF31AF@bellatlantic.net>
Date: Wed, 30 May 2001 11:25:41 -0400
From: "John W. Kennedy" <jwkenned AT bellatlantic DOT net>
Reply-To: jwkenne AT attglobal DOT net
X-Mailer: Mozilla 4.75 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.3.2 Catch-22 in tmpnam/tmpfile with gcc -mno-cygwin

At present, gcc option -mno-cygwin is incompatible with tmpfile and
tmpnam.  When -mno-cygwin is used, at runtime all temporary files are
put into directory "/tmp", which is incompatible with no-cygwin
operation unless a writable "x:\tmp" directory happens to exist, where
x: is the current drive.

The obvious fix would make -mno-cygwin executables sensitive to a
standard Windows environment variable such as TMP, or at least to an
ad-hoc environment variable.

-- 
John W. Kennedy
(Working from my laptop)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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