Alex Burger wrote:

Hi Bruce.

Bruce Shaw wrote:

This is a wierd bug. It only occurs on one of my machines, a V880. It's
running Solaris 8. It doesn't happen on a Solaris 2.6 machine.
When I run the test, I get:

/usr/local/src/net-snmp-5.1.2.pre3/testing/eval_onescript.sh: kill.exe: not
found


When I look at the code, there's a test for OSTYPE that looks for "msys".
OSTYPE is not defined under Solaris unless you do it yourself (at which
point the problem goes away).


Can you please try the attached patch? For some reason the second 'if [ "x$OSTYPE" = "xmsys" ]; then' check is backwards. It is using kill for msys, and kill.exe for NOT msys, which is wrong.

I have not tested this on MinGW (MSYS) yet, but I suspect it will work. I will also test on Linux.

The patch works on both Linux and MinGW (MSYS). If it works for you, can you add it to the patch you submitted?


Thanks

Alex



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to