Date: Fri, 13 May 2005 06:31:45 +0000 (UTC) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make job.c job.h Message-ID: <200505130631.j4D6VjWw046901@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2005-05-13 06:31:45 UTC FreeBSD src repository Modified files: usr.bin/make job.c job.h Log: Make Shell_Init() static - it's only used here. Make sure we don't end up with shellPath beeing non-zero, but shellName beeing zero in the error case - back out cleanly from the error. When executing a command for macro assignment in Cmd_Exec() stuff the path of the shell into argv[0], not the name. This makes no difference from the functionality point of view, but allows the regression tests to determine whether make executes the correct shell. Revision Changes Path 1.112 +9 -9 src/usr.bin/make/job.c 1.40 +0 -1 src/usr.bin/make/job.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505130631.j4D6VjWw046901>