Re: flock() php_flock() compile problems

php.internals

Frank M. Kromann

19 years ago
Hi Rasmus, But the definition of flock in win32/flock.c() is identical to the definition of php_flock() in ext/standard/flock_compat.c. I don't see any reason to hae the same function defined twice with two different names. - Frank
> Frank M. Kromann wrote: > > Hello Everyone, > > > > I hope I'm not too far off here but getting rid of flock.c in > > win32\build\config.w32 an adding flock_compat to
ext\standard\config.w32

Rasmus Lerdorf

19 years ago
Sure, but the lock isn't needed at all here, so while your fix is probably correct for other cases that actually need a lock call, this isn't one of them. -Rasmus Frank M. Kromann wrote: