delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/12/13:00:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: lqpiFOWswBDKpMR.9xmPzFhInkL3vlM-
Message-ID: <4F37FE27.9080500@w5pny.com>
Date: Sun, 12 Feb 2012 11:00:07 -0700
From: Harry G McGavran Jr <w5pny AT w5pny DOT com>
Reply-To: w5pny AT w5pny DOT com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Updated base-files-4.0-8
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

The calls to locale and tzset in profile.d still are not fully
qualified. I always thought fully qualified paths were appropriate
for system wide scripts since one cannot depend on PATH being
set up correctly.  In any case, both with the previous release
of base-files and this one, if you does something like
C:\cygwin\bin\mintty -u -

In a shortcut, the /bin isn't in PATH so the calls to locale
and tzset fail.  make those calls "/bin/locale" and "/bin/tzset"
(fully qualified) fixes that problem and eliminates the need
for PATH to be relied upon in system wide scripts.

-- 

Harry G. McGavran, Jr.

E-mail: w5pny AT w5pny DOT com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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