[dev] VFS_file enhancement

Duck duck at obala.net
Thu Apr 3 14:37:15 UTC 2008


I had timeouts problems with Ansel, by checking if a view exists. The VFS 
method to check if a file exist was reading the while directory (thousands 
files) to just check if a dire exits. The patch fix this to by adding an 
method to the VFS_file implementation using the native file_exists functions. 
With this my timeouts expired.

I also added a check if file_put_content exists, if so it uses for storing 
data.

BTW: I am unable to submit a patch on bugs.horde.org. After a submit I am 
redirected to step 1.

Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.diff
Type: text/x-patch
Size: 1668 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20080403/44f336e7/attachment.bin 


More information about the dev mailing list