From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW Date: Thu, 05 Jun 2014 05:47:03 +0300 Message-ID: <8361kg6pjs.fsf@gnu.org> References: <80sinlu5kt.fsf@gmail.com> <538E2E90.4020706@cs.ucla.edu> <83mwdt8zkw.fsf@gnu.org> <83lhtd892x.fsf@gnu.org> <83tx807qdx.fsf@gnu.org> <83k38w7k7i.fsf@gnu.org> <83ha407j92.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1401936459 19622 80.91.229.3 (5 Jun 2014 02:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 02:47:39 +0000 (UTC) Cc: vincent.b.1@hotmail.fr, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 05 04:47:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WsNiD-0000P4-2P for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2014 04:47:29 +0200 Original-Received: from localhost ([::1]:37968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsNiC-0003Hq-HL for ged-emacs-devel@m.gmane.org; Wed, 04 Jun 2014 22:47:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsNi5-0003Hh-9k for emacs-devel@gnu.org; Wed, 04 Jun 2014 22:47:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsNi0-0006lV-Gg for emacs-devel@gnu.org; Wed, 04 Jun 2014 22:47:21 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:44027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsNi0-0006lR-88 for emacs-devel@gnu.org; Wed, 04 Jun 2014 22:47:16 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N6O00L00C8ZTY00@mtaout26.012.net.il> for emacs-devel@gnu.org; Thu, 05 Jun 2014 05:43:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6O001JACX29950@mtaout26.012.net.il>; Thu, 05 Jun 2014 05:43:50 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172351 Archived-At: > Date: Wed, 4 Jun 2014 23:50:09 +0200 > From: Dani Moncayo > Cc: Vincent Bela=C3=AFche ,=20 > =09Paul Eggert , Emacs development discussions = >=20 > Another option would be, perphaps, to check the environment > variable $OSTYPE (instead of $MSYSTEM). I've just done a quick > test on my system: if I invoke "bash.exe" (without "--login"), I > see that $OSTYPE holds "msys", while $MSYSTEM is undefined. (But > I don't know if this is also true in other MSYS flavors). $OSTYPE is not a global environment variable (try "env"). Besides, this only solves one problem, with --login. I hoped a more reliable method will be available that is independent of any variable= s (that can be unset).