pombreda / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Notepad++ Readfile Bug #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Notepad++ to open a virtualized file (f.e. a simple textfile
virtualized with Mirror.exe)

What is the expected output? What do you see instead?
I expect to see the text file. Instead notepad++ hangs. Debugging points
out that notepad++ is using ReadFile-method to request the file again and
again and again. This behavior doesn't appear on real filesystems.

What version of the product are you using? On what operating system?
Windows 7 prof 64bit

Please provide any additional information below:
GREAT PROJECT!!!

Original issue reported on code.google.com by lordkr...@v--d.de on 9 May 2010 at 9:55

GoogleCodeExporter commented 9 years ago
This is issue 145. The patch in issue 145 will solve this.

Original comment by joe.a.bu...@gmail.com on 25 May 2010 at 3:48

GoogleCodeExporter commented 9 years ago
I see this same problem with another program (Far Manager's file Viewer) on 
Windows XP. I am trying to view a file of 3 characters (3 bytes).
I am using dokan library 0.52.
The problem happens with mirror.exe and with a union filesystem that I wrote 
based on dokan.
The ReadFile sequence that keeps repeating is:
Read 512 bytes at 0 -> return 3 bytes OK
Read 512 bytes at 3 -> return 0 bytes OK
Read 512 bytes at 0 -> return 3 bytes OK
Read 512 bytes at 3 -> return 0 bytes OK
Read 512 bytes at 0 -> return 3 bytes OK
Read 512 bytes at 3 -> return 0 bytes OK
....

Original comment by cszabo...@gmail.com on 25 Jun 2010 at 2:31

GoogleCodeExporter commented 9 years ago

Original comment by asa...@gmail.com on 5 Jul 2010 at 3:43