Index: jam.c =================================================================== --- jam.c (revision 64206) +++ jam.c (working copy) @@ -615,8 +615,8 @@ #else char *executable_path(char *arvg0) { /* If argv0 is absolute path, assume it's the right absolute path. */ - if (argv0[0] == "/") - return strdup(argv0); + if (arvg0[0] == "/") + return strdup(arvg0); return NULL; } #endif