Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 3 Nov 2000 09:08:57 -0500
From: Jason Tishler <Jason.Tishler@dothill.com>
To: cygwin@sources.redhat.com
Subject: Re: patch text mode problem with latest CVS source
Message-ID: <20001103090857.A1038@dothill.com>
References: <20001102151709.A1024@dothill.com> <20001102152046.B14935@redhat.com> <20001102154456.B1024@dothill.com> <20001102171451.A15737@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001102171451.A15737@redhat.com>; from cgf@redhat.com on Thu, Nov 02, 2000 at 05:14:51PM -0500
Organization: Dot Hill Systems Corp.

On Thu, Nov 02, 2000 at 05:14:51PM -0500, Christopher Faylor wrote:
> It seems to be controlled by the value of your "TMP" (or possibly
> "TEMP") environment variable.  If that is set to a directory that is
> mounted as text, then the resulting file has \r\n line endings.

Diff-ing cygcheck outputs between 1.1.4 and 1.1.5-3, I determined
exactly what is the root cause.  I had my TMP variable set as follows:

    export TMP=$SYSTEMDRIVE\\tmp

just in case some Windows programs were using this variable.  In 1.1.4,
the TMP (and TEMP) environment variable was automagically converted
into a POSIX style path, while in 1.1.5-3 it remained unchanged.  Hence,
I was bitten by the unmounted drives defaulting to text mode feature.

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

