Re: Re: search CVS file (perharps a bug)
| From: | Helgi Þormar | Date: | Fri, 06 May 2005 15:44:53 +0000 |
| Subject: | Re: Re: search CVS file (perharps a bug) | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37520@lists.php.net to get a copy of this message | ||
On Fri, 2005-05-06 at 15:58 +0200, Laurent Laville wrote:
> Michael Wallner a écrit :
> > Hi Laurent Laville, you wrote:
> >
> >
> >
> >>function searchReg($regKey)
> >
> > ...
> >
> >> File::close($filename, $conf);
> >
> > ^^^^^
> > should be File::close($filename, FILE_MODE_READ)
> >
> > Regards,
> > --
> > Michael - < mike(@)php.net >
>
> Thanks Michael,
>
> i'm stupid to have missed this part, but the problem is still here!
>
> Don't worry i've found the bug and i'll prepare a web page to explain
> all in details:
>
> I'll also open a bug very soon, and give you a patch for "File/CSV.php"
Looking at the code, well seems that we could use a destructor to reset
the resource stuff when the script finishes instead of removing those
lines ?
I'm a bit nervous to remove them, so could you try to use a destructor
to reset the things that are needed ?
- Helgi