Re: [APC-DEV] Re: fix inode/device usage for win32, take #1

From: Date: Sat, 17 Oct 2009 23:00:58 +0000
Subject: Re: [APC-DEV] Re: fix inode/device usage for win32, take #1
References: 1 2  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-233@lists.php.net to get a copy of this message
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-inodefix-5.3-VC9-x86.zip Cheers, 2009/10/17 Jaroslav Hanslík <konference@kukulich.net>: > Could you please give me the compiled extension? I would also like to test > 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=16860). >> >> Here are the changes I made so far: >> >> - add apc_ino_t and apc_dev_t >>  - native ino_t/dev_t on non windows platform >>  - 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) >>  - to do: have to add fstat on unix >>  - 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 > > -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.apc.dev (#233) next »