Problem with chdir and GetCurrentDirectory on Windows 2016
Jeffrey Altman
jaltman@secure-endpoints.com
Wed Dec 7 20:34:00 GMT 2016
On 12/7/2016 3:23 PM, Dipak Gaigole wrote:
> GetCurrentDirectory returned <C:\Pro>, ret = <6>
GetCurrentDirectory failed with ERROR_INVALID_HANDLE. As a result the
buffer was not populated. What is in dirname[] is stack garbage.
My guess is that /cygdrive/c/Program Files is not associated with a
device or if it associated with a NTFS device the driver doesn't know
how to match /cygdrive with a valid path.
Jeffrey Altman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4081 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20161207/52928ee0/attachment.p7s>
More information about the Cygwin
mailing list