Yes don't remove the windows stuff from jtest.

-- Leif 

On May 13, 2012, at 7:17 AM, "ming....@gmail.com" <ming....@gmail.com> wrote:

> jtest is tool for client, maybe someone would like to run on Windows, I
> don't think we should not support win32 here.
> 
> 
> 在 2012-05-13日的 00:18 +0000,Igor Galić写道:
>> And here's the same for win32
>> 
>> ---8<----
>> mgmt/cluster/VMap.cc:1141:  // Now for WIN32, we have to find the 
>> nte_context for the virtual ip address
>> mgmt/web2/WebGlobals.h:125:#define WEB_HTTP_SERVER_STATE_WIN32        0x01
>> cop/TrafficCop.cc:1682:// in the case of running cop as a win32 service.
>> lib/ts/TextBuffer.cc:148:// - Cannot read from file descriptor on win32 
>> because the win32
>> lib/ts/ink_file.h:60:// of ':' on MacOS9, '\' on Win32, etc.)
>> lib/ts/ink_file.h:63:// of addpath, (resolving any aliases on Win32) and 
>> append a proper
>> lib/ts/MatcherUtils.cc:88:    // We don't want to signal this error on WIN32 
>> because the sizes
>> lib/ts/ink_memory.cc:92:// TODO: For Win32 platforms, we need to figure out 
>> what to do with memalign.
>> tools/jtest/jtest.cc:42:#if !defined(IRIX) && !defined(_WIN32)
>> tools/jtest/jtest.cc:63:#if !defined (sparc) && !defined (_WIN32)
>> tools/jtest/jtest.cc:68:#else /* !defined (NEED_HRTIME) || defined (_WIN32) 
>> */
>> tools/jtest/jtest.cc:69:#  if !defined (_WIN32)
>> tools/jtest/jtest.cc:777:#if !defined (_WIN32)
>> tools/jtest/jtest.cc:832:#if !defined (_WIN32)
>> tools/jtest/jtest.cc:850:#else /* WIN32 */
>> tools/jtest/jtest.cc:990:#if !defined (_WIN32)
>> tools/jtest/jtest.cc:998:#else /* WIN32 */
>> ---->8----
>> 
>> and for NT:
>> 
>> ---->8----
>> mgmt/cluster/VMap.cc:444:    // we don't need to do mgmt ping stuff on NT 
>> the way its done on UNIX
>> mgmt/cluster/ClusterCom.cc:698:  //   Loopback disable is currently not 
>> working on NT.
>> example/add-header/add-header.c:29: *   (NT): AddHeader.dll "name1: value1" 
>> "name2: value2" ...
>> example/thread-pool/psi.c:29: *    (NT): psi.dll
>> example/bnull-transform/bnull-transform.c:30: *    (NT): BNullTransform.dll
>> example/append-transform/append-transform.c:32: *     (NT): 
>> AppendTransform.dll <filename>
>> example/redirect-1/redirect-1.c:30: *    (NT): Redirect.dll block_ip 
>> url_redirect
>> example/thread-1/thread-1.c:29: *    (NT): Thread.dll
>> example/null-transform/null-transform.c:30: *    (NT): NullTransform.dll
>> example/server-transform/server-transform.c:30: *    (NT): 
>> ServerTransform.dll
>> example/output-header/output-header.c:34: *    on NT.
>> example/file-1/file-1.c:29: *    (NT): File.dll <filename1> <filename2> ...
>> lib/ts/ink_string.h:83:/* 9/3/98 elam: Added this because NT doesn't have 
>> strtok_r() */
>> iocore/eventsystem/I_Event.h:251:  | UNIX/non-NT Interface                   
>>                 |
>> iocore/eventsystem/Thread.cc:67:  // Unix & non-NT Interface impl            
>>   //
>> iocore/eventsystem/I_EventProcessor.h:87:  @b NT: The value of the event 
>> code passed in to the continuation
>> iocore/eventsystem/I_EventProcessor.h:111:    @param sem Unix: Event 
>> semaphore assigned to the thread. NT: Not used.
>> iocore/eventsystem/I_EventProcessor.h:311:  | Unix & non NT Interface        
>>                         |
>> iocore/eventsystem/I_EThread.h:83:  Those with the 'local' suffix <b>they do 
>> the same on NT??????</b>
>> iocore/net/I_NetProcessor.h:172:      only on supported platforms (NT & 
>> Win2K currently).
>> proxy/MuxVC.cc:1105:    // FIX - Unix & NT connect behavior differ
>> proxy/logging/LogHost.cc:251:  // NT: replace ':'s with '-'s.  This change 
>> is necessary because
>> proxy/logging/LogHost.cc:252:  // NT doesn't like filenames with ':'s in 
>> them.  ^_^
>> proxy/http/HttpServerSession.h:157:  //   an asyncronous cancel on NT
>> proxy/http/HttpAccept.h:129:   The continuation mutex is NULL to allow 
>> parellel accepts in NT. No
>> proxy/http/HttpSM.cc:6309://     Diags works both on UNIX & NT
>> ----8<----
>> 
>> 
>> Most of those occur in comments, though.
>> 
>> i
>> 
> 
> -- 
> zym, Zhao Yongming.
> aka: yonghao @ taobao.com

Reply via email to