- if isLink==True:
- self.file_contents=ctypes.create_string_buffer(100)
- yaffs_readlink(self.file_path,self.file_contents,100)
+ print "length of file to be opened:", length_of_file
+ 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)