yaffs just fixed the way in which a symlink is opened in the yaffs browser.
authorTimothy Manning <tfhmanning@gmail.com>
Mon, 11 Oct 2010 20:43:24 +0000 (09:43 +1300)
committerTimothy Manning <tfhmanning@gmail.com>
Mon, 11 Oct 2010 20:43:24 +0000 (09:43 +1300)
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
direct/python/yaffs_browser.py

index 37245ebf1874b89df6a51d4bb0b89cea0cc3dd10..626bc78fc6ab9df649b63058032d987bb537506f 100755 (executable)
@@ -70,7 +70,7 @@ class editor():
         length_of_file=yaffs_lseek(self.yaffs_handle, 0, 2) ##seeks to the end of the file
         yaffs_lseek(self.yaffs_handle, 0, 0)## returns the handle to the front of th file
         print "length of file to be opened:", length_of_file
-        if isLink==True:
+        if isLink==True and False ==True : ##this alows the symlink to be edited and is no longer used. to renable it delete "and False ==True"
             print "opening symlink"
             self.file_contents=ctypes.create_string_buffer(1000)
             yaffs_readlink(self.file_path,self.file_contents,1000)