Hi,

On Tue, 15 Jul 2008, Alexander Gavrilov wrote:

> On Monday 14 July 2008 15:31:35 Alexander Gavrilov wrote:
> > > So, I recommend you write your own little tool for this process. 
> > > Shouldn't be that hard.
> >
> > I think I'll try to build the Cygwin version of kill.exe under MSys first:
> >
> 
> I eventually succeded in building it, although I had to replace two 
> calls to strtoll with strtol, so it will likely break on Windows 95 -- 
> but who cares.

I think that the last platform where it breaks is Windows 95.  strtoll() 
returns long long, and since the result is a pid, I doubt that even long 
is required for Windows 95.

The only thing where it _could_ break is Win64, but we do not support that 
yet.  Besides, as I grew to know the Windows API, Win64 probably still has 
16-bit pids.

> I added the resulting executable, as well as files necessary to build 
> it, to the repository, and pushed it to the mob branch:
> 
> http://repo.or.cz/w/msysgit.git?a=commitdiff;h=da2ad26ee006b2013913e425cd520471ac9636f7
> 
> So far it seems to work.

Looks very good, except for the "-B$(cygwin_build)/", which should be a 
"-B/" AFAICT.

Ciao,
Dscho

Reply via email to