Re: [APC-DEV] Re: fix inode/device usage for win32, take #1
[email protected] (Pierre Joye) Sun, 18 Oct 2009 01:00:58 +0200
| Newsgroups | php.apc.dev |
|---|---|
| Message-ID | <[email protected]> |
hi, Here you go, for TS (Apache2 / 2.2, php 5.3 VC9 build): http://pecl2.php.net/downloads/php-windows-builds/qa/test/php_apc-3.1-inode= fix-5.3-VC9-x86.zip Cheers, 2009/10/17 Jaroslav Hansl=EDk <[email protected]>: > Could you please give me the compiled extension? I would also like to tes= t > it. > > Jaroslav Hanslik > > > Pierre Joye napsal(a): >> >> hi, >> >> This is a first attempt (draft) to fix the pecl bug #16860 >> (http://pecl.php.net/bugs/bug.php?id=3D16860). >> >> Here are the changes I made so far: >> >> - add apc_ino_t and apc_dev_t >> =A0- native ino_t/dev_t on non windows platform >> =A0- unsigned int64 on windows >> >> - use string for the inode and device key (cache info and iterator) >> - device uses now the volume serial number (part of the file information= ) >> - inode uses now the file id (part of the file information) >> - add zend_file_handle support to apc_cache_make_file_key to avoid (no >> need to open/stat a file already opened) >> =A0- to do: have to add fstat on unix >> =A0- getfileinfofromhandle (stat-like) is used on windows >> >> I have tested it using fcgi and apache 2.2 on windows and everything >> seems to work as it should. However I like to test it further and fix >> any side effects before to apply it. Thomas Peterson also tested it >> using apache and CLI with the test cases provided in the report. >> >> Comments and suggestions welcome :) >> >> Cheers, >> > > -- > APC Development Mailing List (http://pecl.php.net/APC) > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org