RE: [SMARTY] current CVS version can't update recompiled template
| From: | Monte Ohrt | Date: | Tue, 25 Feb 2003 19:51:11 +0000 |
| Subject: | RE: [SMARTY] current CVS version can't update recompiled template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8196@lists.php.net to get a copy of this message | ||
Yesterday morning the rename() functionality was added, affecting
Windows since rename can't write over an existing file. Inconsistent
behavior of rename between OS's I guess.
Monte
On Tue, 2003-02-25 at 03:51, Boštjan Žokš wrote:
> It works now, but problem arised in last 7 day changes to CVS. About a
> week ago everything worked fine (exactly same system setup/code).
>
> > -----Original Message-----
> > From: Monte Ohrt [mailto:monte@ispi.net]
> > Sent: Tuesday, February 25, 2003 12:29 AM
> > To: Boštjan Žokš
> > Cc: 'Smarty General'
> > Subject: Re: [SMARTY] current CVS version can't update
> > recompiled template
> >
> >
> > I committed a patch that unlinks/renames for WIN OS. I also suppressed
> > the errors in case more than one process is trying to unlink/rename
> > (good?)
> >
> > Monte
> >
> > On Mon, 2003-02-24 at 17:13, Boštjan Žokš wrote:
> > > Actually it can't replace old compiled template with new
> > one. Same for
> > > cached templates.
> > >
> > > Warning:
> > >
> > rename(var/templates_c/\%%117\%%1172603085/3e5aa6541d12f,var/t
> > emplates_c
> > > /\%%117\%%1172603085\index.tpl.php) [function.rename]: File
> > exists in
> > > c:\.....\Smarty.class.php on line 2063
> > >
> > > Using current CVS version (Smarty 1.358, Smarty_compiler 1.182) on
> > > win32.
> > >
> > > Regards,
> > > Bostjan
> > >
> > --
> > Monte Ohrt <monte@ispi.net>
> >
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--
Monte Ohrt <monte@ispi.net>