From 3f1998726fc46fc97fa242981e7de7181b46fd8c Mon Sep 17 00:00:00 2001 From: Timothy Manning Date: Tue, 12 Oct 2010 09:43:24 +1300 Subject: [PATCH] yaffs just fixed the way in which a symlink is opened in the yaffs browser. Signed-off-by: Timothy Manning --- direct/python/yaffs_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/python/yaffs_browser.py b/direct/python/yaffs_browser.py index 37245eb..626bc78 100755 --- a/direct/python/yaffs_browser.py +++ b/direct/python/yaffs_browser.py @@ -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) -- 2.30.2