summaryrefslogtreecommitdiff
path: root/fs/osfs
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-08-09 23:12:25 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-08-09 23:12:25 +0000
commit664a59fce6ccbf275f6936cf320e0ee412f4184e (patch)
tree4b607bd7842e6d09d07d605600cc7389b355c4ab /fs/osfs
parentc4c2e16099a1379ddb31c878ee13f4ff85c29adc (diff)
downloadpyfilesystem-664a59fce6ccbf275f6936cf320e0ee412f4184e.tar.gz
dokan: remove silent-install functionality, it really doesn't belong in this framework
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@409 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/osfs')
-rw-r--r--fs/osfs/watch_win32.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/osfs/watch_win32.py b/fs/osfs/watch_win32.py
index c587a1b..fa2a350 100644
--- a/fs/osfs/watch_win32.py
+++ b/fs/osfs/watch_win32.py
@@ -237,6 +237,8 @@ class WatchedDirectory(object):
pos = 0
while pos < len(buffer):
jump, action, namelen = struct.unpack("iii",buffer[pos:pos+12])
+ # TODO: this may return a shortname or a longname, with no way
+ # to tell which. Normalise them somehow?
name = buffer[pos+12:pos+12+namelen].decode("utf16")
yield (name,action)
if not jump: