This is a remnant from my original implementation in PHP 2. It was committed: Mon May 20 15:20:25 1996 (5 years, 10 months ago)
Having that level of revision history is actually pretty cool if you ask me. This is the diff: http://cvs.php.net/diff.php/phpfi/src/file.c?r1=1.13&r2=1.14&ty=u So it did actually make sense at one point. It has just sort of lost its way over the years. -Rasmus On Tue, 19 Mar 2002, Stefan Roehrich wrote: > On 2002-03-19 21:35:09, Wez Furlong wrote: > > Well, that appears to be the intention, but I couldn't see > > a single line where the state variable is assigned to; it's > > passed by value, so I can't see how FG(fgetss_state) is ever > > set to a value other than 0? > > Ups, this really looks like an oversight or a leftover from old > code, but I just looked at the cvs changelog and didn't see anything > on a quick glance. > > Maybe the state vars should be removed, the code is really old and > nobody has complained until now (but passing by reference seems to be > the intended version). > > Stefan > > -- > Stefan Röhrich [EMAIL PROTECTED], [EMAIL PROTECTED] > http://www.roehri.ch/~sr/ > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php