From: Timothy Manning Date: Mon, 11 Oct 2010 20:43:24 +0000 (+1300) Subject: yaffs just fixed the way in which a symlink is opened in the yaffs browser. X-Git-Tag: linux-mainline-rc-01~8^2~11 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=3f1998726fc46fc97fa242981e7de7181b46fd8c yaffs just fixed the way in which a symlink is opened in the yaffs browser. Signed-off-by: Timothy Manning --- 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)