diff -r 3420d82f9b01 -r c7f7f234a156 platform/unix.c --- a/platform/unix.c Fri Nov 22 06:24:10 2002 +0000 +++ b/platform/unix.c Sat Nov 30 04:50:49 2002 +0000 @@ -221,7 +221,7 @@ /* build full binary path... */ strcpy(exe, start); - if (exe[strlen(exe) - 1] != '/') + if ((exe[0] == '\0') || (exe[strlen(exe) - 1] != '/')) strcat(exe, "/"); strcat(exe, bin);