This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: shell-init: error retrieving current directory
- From: LRN <lrn1986 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Aug 2013 06:21:21 +0400
- Subject: Re: shell-init: error retrieving current directory
- References: <521571A7 dot 6010503 at gmail dot com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 22.08.2013 06:04, nu774 wrote:
> Hi, I've experienced the same issue. From what I can see:
> Current bash.exe of cygwin64 seems to be improperly built with
> HAVE_GETCWD disabled, which result in using it's own getcwd
> implementation in the bash source package.
1) It's not improperly disabled. Cygwin's getcwd does not behave the way
bash wants it to (when called with 0 buffer and 0 buffer length, it
fails, instead of allocating buffer). At least that is my understanding
after observing the source code.
2) Also, this happens if you cross-compile bash (because this can't be
autodetected when cross-compiling, and configure assumes the worst).
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSFXWgAAoJEOs4Jb6SI2CwQc0IAISz5iIJ0h7bDhkdFU5WKqb8
/sQUvqUIB+9Z5IQ2+S3mWXbAMAqOKbc65zzWQPsPyEXDzpaTApRa9ICSbBlsZWPv
xvsktXawU67mfN/HZ7qunWsmD5h5EwXJvPUIUXBKAAbsgsAVI/UrADM0nKnJcQio
+dX1huhC1aUZY8LAThJ6v64Qso7TGO+4WLNjQw/0/wtzCq/VkCErIx65FFMXU6sT
ioZvfNdwIa92yuSU6Vbx+nATbcwq/pxbdZNXNiz0ryiBkUlzLKNFsyVxEXLVShdL
hXRtz8GdRoESJW1iWZjfUTheTFrZ5KwN4zy5YgYDvQHY8URAOGqqLHu+7vEhizI=
=7tr+
-----END PGP SIGNATURE-----
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple