James Hawkins <[EMAIL PROTECTED]> writes:

> +    /* try to detect arts */
> +    argv_new[2] = "ps awx|grep artsd|grep -v grep|grep artsd > /dev/null";
> +    if(!spawnvp(_P_WAIT, "/bin/sh", argv_new))
> +    {
> +        driversFound[numFound] = "winearts.drv";
> +        name[numFound] = "aRts";
> +        numFound++;
> +    }

This code does not belong in winmm. Autodetection in winmm should be
done by having the drivers themselves fail to load if the
corresponding support is missing.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to