From 923e7a09b08f357a691324bc700da560ff469573 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Mon, 24 Oct 2005 22:32:19 +0000 Subject: [PATCH] Use the "builtin" shell function to make sure that the requested command is handled as a shell function. This avoids the following peculiar behaviour when /usr/bin is on a case-insensitive filesystem: # READ foo (... long pause, depending upon the amount of swap space available ...) sh: Resource temporarily unavailable. Reported by: I can't remember; someone on IRC. MFC after: 1 week --- usr.bin/alias/generic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/alias/generic.sh b/usr.bin/alias/generic.sh index 33a39ad9783..d9c3127e43d 100644 --- a/usr.bin/alias/generic.sh +++ b/usr.bin/alias/generic.sh @@ -1,4 +1,4 @@ #!/bin/sh # $FreeBSD$ # This file is in the public domain. -${0##*/} ${1+"$@"} +builtin ${0##*/} ${1+"$@"}