Skip to content

Conversation

@kwallner
Copy link
Contributor

Parameters to CreateHardLinkA need to be reordered.
The order of src/dest is different for Windows.

For more information see:
http://man7.org/linux/man-pages/man2/link.2.html
vs.:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363860(v=vs.85).aspx

@sbusch42
Copy link
Member

Thank you for spotting this. If I interpret the documentation correctly, the same change would be needed also for CreateSymbolicLinkA?

@kwallner
Copy link
Contributor Author

@sbusch42 sbusch42 merged commit 92aca69 into cginternals:master Feb 14, 2018
@kwallner kwallner deleted the bugfix/ArgumentSwitchForWindowsCreatehardLink branch February 17, 2018 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants