delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C6BDD79.5050307@redhat.com> |
Date: | Wed, 18 Aug 2010 07:17:45 -0600 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin 1.7 lock directory problem |
References: | <AANLkTin6rup-PmQj2yCXgEBUajHhQ_J73UstwmLht-sa AT mail DOT gmail DOT com> <4C6B5191 DOT 7070602 AT cygwin DOT com> <AANLkTin8J=k9bbw7q8LTD4S7+XdT61W5fuShYdgbzf4j AT mail DOT gmail DOT com> <20100818055204 DOT GA19288 AT ednor DOT casa DOT cgf DOT cx> <20100818085754 DOT GP11340 AT calimero DOT vinschen DOT de> <445852471 DOT 20100818142802 AT mtu-net DOT ru> <20100818110852 DOT GS11340 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20100818110852.GS11340@calimero.vinschen.de> |
X-IsSubscribed: | yes |
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 |
--------------enig21A26680E5025638711F4861 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/18/2010 05:08 AM, Corinna Vinschen wrote: >>> Looks like this behaviour is a problem and we should better close the >>> old handle. What to do with the new one? Just set it to NULL and >>> disallow stackdumps as long as we're in a virtual path? Or set it to >>> some well known path, like Cygwin's root? >> >> /var or /tmp would be more sensible. >=20 > Maybe, but it also costs time. /var and /tmp Windows paths have to be > generated by a full path conversion every time you call chdir() to a > virtual directory. > The Cygwin installation path (aka the root dir) is just available. Using / as the fallback during a virtual directory makes sense to me (there may be other permission problems if / is not writable by the current user, but a stack dump is a best effort attempt anyways). --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig21A26680E5025638711F4861 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJMa915AAoJEKeha0olJ0NqMe0H/3avgCAgcEplX16wh/tilbWS ukfdqyl/hxBJYmM7XxN6End/oP9e++IhHayoITCCvmAap5XYBjdLA5Y2N/DZ44IR JMKb5tYpCXfJt0B0Tk5CbKlVz8Gh5/AISOQppHfYD1WLwUgcGT9gfXynkaVpO3to 0V9Had4dRIlkINVrzYMYmfT6l5HChEDZ873ifCBc7AFOgAJx2eFfXIqvdRZgN9US oyfJX4MPR89q0bC7i2ZhVK3mc3p9G9O9K45ourk09i70LRBjAwwWebs0IQzNA2KQ p7rVw43C5m5vgcHW6DHM+EfpLrgPDT6Xp1/pXcUN+6VKnJPTs0YAmvxtGBsjAps= =E5M6 -----END PGP SIGNATURE----- --------------enig21A26680E5025638711F4861--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |