This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unwanted .exe appended to symlinks
-----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@byu.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/