On 20/08/2007 21:43, Bram Moolenaar wrote:
> 
> Mike Williams wrote:
> 
>> Attached is a patch against 7.1.082 to solve a number of issues with
>> cscope on Windows.  It no longer jumps through hoops to hide the console
>> (occasionally failing), fixes a handle leak when killing a connection, 
>> now reports a process id, and simplifies the Win32 code logic creating 
>> the connection.  One consequence of the change is that VIM now has to 
>> explicitly exit the processes running cscope. Windows has no concept of 
>> patent child processes like Unix - I assume _spawnl() used previously 
>> tracked child process ids and used an atexit() style method to clear 
>> them up.
>>
>> I can't currently test Unix builds so I don't know if I have broken
>> them.  I haven't tested with BorlandC - from the documentation I have
>> seen it is all bog standard Win32 API, and should all work from Win98
>> onwards.  Problem reports more than welcome.
> 
> Thanks for working on this problem and making this patch.
> 
> I'll put it in my todo list, and await remarks in the mean time.

Ok, I have tested it on OpenBSD 4.1 and it still compiles and runs, so I 
guess that passes the Unix test.  Which is nice.

However, in passing, the default vim build on OBSD throws a warning 
during the autoconf process (wrapped, sorry):

configure: WARNING: sys/sysctl.h: present but cannot be compiled
configure: WARNING: sys/sysctl.h:     check for missing prerequisite 
headers?
configure: WARNING: sys/sysctl.h: see the Autoconf documentation
configure: WARNING: sys/sysctl.h:     section "Present But Cannot Be 
Compiled"
configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result
configure: WARNING: sys/sysctl.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

Checking the ports tree it looks like the OBSD maintainer has a patch 
for this - is there any particular reason why it can't be rolled into 
the main sources?

TTFN

Mike
-- 
How to make perfect toast: Cook it till it smokes, then 20 seconds less.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui