Re: Smarty File Lock Problem in Windows
| From: | Monte Ohrt | Date: | Thu, 01 Mar 2001 20:48:03 +0000 |
| Subject: | Re: Smarty File Lock Problem in Windows | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-262@lists.php.net to get a copy of this message | ||
I see in the php bug database that there is a problem with flock and
windows 2000. Are you using 2000 by chance?
http://bugs.php.net/bugs.php?id=9203
Jim Harlindong wrote:
>
> The following line should be commented in Windows inside _write_file()
>
> // flock($fd, LOCK_EX);
>
> Without doing so will cause smarty to fail writing to file, resulting in 0
> sized compiled files. Took me 40 minutes to figure this out :)
>
> Regards,
> Jimmy
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/