Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRUNCATE_EXISTING creation disposition does not work #9

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Closed

TRUNCATE_EXISTING creation disposition does not work #9

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Call CreateFile with TRUNCATE_EXISTING creation disposition on a dokan 
mounted drive
2. Observe flags coming in from dokan CreateFile callback, creation 
disposition is 3 (OPEN_EXISTING)
3.

What is the expected output? What do you see instead?
Expected: creationDisposition = 5 (OPEN_EXISTING)
Actual: creationDisposition = 3 (OPEN_EXISTING)

What version of the product are you using? On what operating system?
Dokan: 0.3.7
OS: Windows XP Home SP3

Please provide any additional information below.

Original issue reported on code.google.com by dres.sch...@gmail.com on 21 Sep 2008 at 7:51

@GoogleCodeExporter
Copy link
Author

This issue is fixed in the next release of Dokan library.
In the next version of Dokan library, when you passed TRUNCATE_EXISTING to 
CreateFile, you get SetEndOfFile callback with the second parameter set 0 after 
CreateFile callback.
Dokan can't pass the TRUNCATE_EXISTING parameter to CreateFile callback.

Original comment by asa...@gmail.com on 28 Sep 2008 at 9:26

  • Changed state: Fixed
  • Added labels: DokanLibrary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant