[patch] Cache / File container

From: Date: Thu, 30 May 2002 14:31:47 +0000
Subject: [patch] Cache / File container
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6662@lists.php.net to get a copy of this message
Hello, File container in PEAR_Cache don't have locking system. So, it's possible, that you get corrupted data-entries under bad circumstances. I have run tests with two scripts running in the same moment (one writing, the second one reading). And it's true that you can get corrupted results when fetching the cache. So I have made a patch to implement locking in the file container. Patch is attached. Can I commit it ? Thanks, Fabien

Attachment: [text/x-diff] diff_file.txt
« previous php.pear.dev (#6662) next »