From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::601]) by sourceware.org (Postfix) with ESMTPS id 0299B396ECB3 for ; Sun, 20 Sep 2020 07:35:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0299B396ECB3 Received: from mxback24j.mail.yandex.net (mxback24j.mail.yandex.net [IPv6:2a02:6b8:0:1619::224]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 9B3FC3C00C43; Sun, 20 Sep 2020 10:35:01 +0300 (MSK) Received: from iva1-bc1861525829.qloud-c.yandex.net (iva1-bc1861525829.qloud-c.yandex.net [2a02:6b8:c0c:a0e:0:640:bc18:6152]) by mxback24j.mail.yandex.net (mxback/Yandex) with ESMTP id wpc3mgTxpU-Z1KOZ07g; Sun, 20 Sep 2020 10:35:01 +0300 Received: by iva1-bc1861525829.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id qOuf7P3Wk7-Z0ImScYn; Sun, 20 Sep 2020 10:35:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 20 Sep 2020 07:20:22 -0000 Date: Sun, 20 Sep 2020 10:20:22 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <1821307735.20200920102022@yandex.ru> To: Kristian Ivarsson via Cygwin , cygwin@cygwin.com Subject: Re: Sv: TMP/TEMP environment variable and /tmp In-Reply-To: <002001d68ceb$ce417d90$6ac478b0$@gmail.com> References: <025401d68c06$9a89e8b0$cf9dba10$@gmail.com> <202459f2-75cc-1ac2-7953-67f98e6fdb35@towo.net> <9e5ab93b-9b0b-6855-d5da-365da48ecce2@t-online.de> <002001d68ceb$ce417d90$6ac478b0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2020 07:35:06 -0000 Greetings, Kristian Ivarsson via Cygwin! > If the user sets its TMP-variable to "C:\Jabba Dabba Dooo" or "/jabba dabba > doo", I expect the value of getenv("TMP") should be just that and regardless > of OS the value returned is whatever the variable is set to and not magically changed to "/tmp" That's how it works. It's just that Cygwin provides /tmp aliasing as a mount point option for a better usage experience. See /etc/fstab - the usertemp FS pseudotype. I.e. none /tmp usertemp binary,nouser,posix=1 0 0 If yo have a different TMP (than TEMP), check your shell startup for any redefinitions. -- With best regards, Andrey Repin Sunday, September 20, 2020 10:16:54 Sorry for my terrible english...