diff options
author | Chet Ramey <chet.ramey@case.edu> | 2012-02-22 10:00:05 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2012-02-22 10:00:05 -0500 |
commit | 5a3187363b06b5365ec335ac530bb1f75fff172a (patch) | |
tree | a4384f144b8ea6847c0e54f50401a9635cb726b2 /execute_cmd.c | |
parent | d00a2d66927ffec865bb63a39f7ad7fa98e0fe9b (diff) | |
download | bash-5a3187363b06b5365ec335ac530bb1f75fff172a.tar.gz |
commit bash-20120113 snapshot
Diffstat (limited to 'execute_cmd.c')
-rw-r--r-- | execute_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/execute_cmd.c b/execute_cmd.c index adfaa486..c6f98906 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -1,6 +1,6 @@ /* execute_cmd.c -- Execute a COMMAND structure. */ -/* Copyright (C) 1987-2011 Free Software Foundation, Inc. +/* Copyright (C) 1987-2012 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -3764,7 +3764,7 @@ is_dirname (pathname) char *temp; int ret; - temp = search_for_command (pathname); + temp = search_for_command (pathname, 0); ret = (temp ? file_isdir (temp) : file_isdir (pathname)); free (temp); return ret; @@ -4784,7 +4784,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, } #endif /* RESTRICTED_SHELL */ - command = search_for_command (pathname); + command = search_for_command (pathname, 1); if (command) { |