This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with chdir and GetCurrentDirectory on Windows 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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]