From owner-cvs-bin Sat Nov 5 17:29:32 1994 Return-Path: cvs-bin-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.8/8.6.6) id RAA29218 for cvs-bin-outgoing; Sat, 5 Nov 1994 17:29:32 -0800 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.8/8.6.6) id RAA29208; Sat, 5 Nov 1994 17:29:27 -0800 Date: Sat, 5 Nov 1994 17:29:27 -0800 From: "Jordan K. Hubbard" Message-Id: <199411060129.RAA29208@freefall.cdrom.com> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh cd.c Sender: cvs-bin-owner@FreeBSD.org Precedence: bulk jkh 94/11/05 17:29:27 Modified: bin/sh cd.c Log: Get this braindead, mongoloid shell look in /stand for pwd if it can't find it in /bin. This is something of a kludge, I know, but consider my limited alternatives: I can't make this an execvp() without making people scream that I introduced a failure point or slowed down pwd, and I can't make it an optional macro since crunch doesn't let you pass arbitrary command-line args to the build of one of its crunch-ees. This is the simplest, if not the nicest looking, solution I could come up with.