|
From: Leif M. <le...@ta...> - 2006-03-30 06:03:20
|
Juergen,
I agree. Your patch makes sense. It will be in the next release.
I was only able to pach the unix version. Windows has similar code
but there is not "app" variable or anything like it available.
Cheers,
Leif
Juergen Hermann wrote:
> Hi, Leif. The following code makes it hard to debug problems when you
> get that error...
>
> /* Get the full path and filename of this program */
> if (realpath(app, szPath) == NULL) {
> log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL,
> "Unable to get the path-%s", getLastErrorText());
> return 1;
> }
>
> A better version would be:
>
> log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL,
> "Unable to get the path for '%s'-%s", app, getLastErrorText
> ());
>
> This might be true for other, similar error messages.
>
>
>
> Ciao, Jürgen
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|