Re: [SMARTY] Unlock file
| From: | xuefer tinys | Date: | Mon, 06 Jan 2003 10:57:54 +0000 |
| Subject: | Re: [SMARTY] Unlock file | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7028@lists.php.net to get a copy of this message | ||
close the file will get it unlock
From: "Kerry Kobashi" <kkobashi@thegrid.net> To: smarty-general@lists.php.net Subject: [SMARTY] Unlock file Date: Mon, 6 Jan 2003 02:21:12 -0800 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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php_________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com