Kayvan>> It seems fine, except that I am concerned about checking for the exact
Kayvan>> string CYGWIN_NT-5.0

Kayvan>> What happens with the ``uname -s'' string changes to CYGWIN_NT-5.1?

Kayvan>> I think it might be better to have a case statement there:

Kayvan>> sysname=`uname -s`
Kayvan>> case "$sysname" in
Kayvan>>   CYGWIN*)
Kayvan>>     [... code ...] ;;
Kayvan>>   *)
Kayvan>>     [... default case here ...];;
Kayvan>> esac

I neglected my work today a bit and came up with the following patch.
What does it look like to you Kayvan?
>From my point of view it should work.

Soeren

======================================================================
The best way to accelerate a Macintosh is 9.8 m/s/s. 
                -- Marcus Dolengo

Attachment: cygwin_detection_patch.
Description: Binary data

Reply via email to