| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| Message-ID: | <42D273D7.1020800@byu.net> |
| Date: | Mon, 11 Jul 2005 07:27:51 -0600 |
| From: | Eric Blake <ebb9 AT byu DOT net> |
| User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| CC: | "Jon A. Lambert" <jlsysinc AT alltel DOT net> |
| Subject: | Re: Unwanted .exe appended to symlinks |
| References: | <1120880636 DOT 6400 DOT 7 DOT camel AT localhost DOT localdomain> <42CF4C9D DOT 8000708 AT byu DOT net> <03d301c58616$166ad5f0$0200000a AT agamemnon> <Pine DOT GSO DOT 4 DOT 61 DOT 0507110918170 DOT 6749 AT slinky DOT cs DOT nyu DOT edu> |
| In-Reply-To: | <Pine.GSO.4.61.0507110918170.6749@slinky.cs.nyu.edu> |
| X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Igor Pechtchanski on 7/11/2005 7:20 AM:
>
> Yes, I believe Eric already posted that the bug is in the .exe magic
> interacting with virtual devices. A workaround is to either use
>
> cat /dev/null >"$PGDATA"/postgresql.conf || exit_nicely
Works.
>
> or (untested) actually create a stat'able /dev/null using the
> create_devices.sh script from
> <http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html#using-specialnames>.
Won't work. stat("/dev/null") gets intercepted by cygwin before checking
for an actual file named "null" in /dev/, so that the stat will succeed
(and with the same data) whether or not you have run create_devices.sh.
Perhaps creating /dev as a managed mount, though, and populating it with
"null.", would work for coreutils 5.3.0-7 (but I wouldn't bother with such
a convoluted workaround, especially since 5.3.0-8 will fix it).
- --
Life is short - so eat dessert first!
Eric Blake ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC0nPX84KuGfSFAYARAttJAKCFkU3o6udLTvWhvdJwFX+WWWRrjgCgn+VP
x4MoG42dbV9KDs6onRQrhOI=
=Pame
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |