Unlock file
| From: | Kerry Kobashi | Date: | Mon, 06 Jan 2003 10:21:12 +0000 |
| Subject: | Unlock file | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7027@lists.php.net to get a copy of this message | ||
Where does smarty unlock a file that has been read in?
In the _read_file function, a shared lock is obtained. But I don't see any
flock($fd, LOCK_UN) to unlock it.
The same goes for _write_file where it obtains a exclusive lock.
Am I missing something here?
---------------------------------------------
Kerry Kobashi
Kobashi Computing