X-Spam-Check-By: sourceware.org Date: Wed, 13 Dec 2006 10:17:00 -0500 From: "Kenneth Nellis" Subject: RE: bash.exe: warning: could not find /tmp, please create! In-reply-to: <45800D44.8010204@byu.net> To: Message-id: <006c01c71ec9$bd3b2c20$be32000a@idirect.net> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > From: Eric Blake > Sent: Wednesday, December 13, 2006 9:25 AM > To: cygwin AT cygwin DOT com > Subject: Re: bash.exe: warning: could not find /tmp, please create! > > > Yes, it is annoying that when /tmp is not mounted, and / does not contain > a physical subdirectory named tmp, that bash refuses to start. I'll > consider ripping that out of bash, since it was an upstream chunk of code > protected by __CYGWIN__ (ie. someone in the distant past, before I was > maintainer, thought that such a cygwin-specific patch would be useful), > and replacing it with mkdir("/tmp") instead. Then the failure would only > be if /tmp cannot be created, rather than that it did not exist. > I'm curious if Eric intends to reference /tmp directly, as opposed to recognizing environment variable TMPDIR, if defined? --Ken Nellis -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/