diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-08 20:08:35 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-08 20:08:35 -0500 |
commit | d0ca35030a65d56cc4b4191fec940ea26804ea82 (patch) | |
tree | c10ef0adff71a58fbaef2e9a680c9b66fec8c2e1 /execute_cmd.c | |
parent | 2d0c84ef11fdcd69ecc8040a0301803bfd8dda64 (diff) | |
download | bash-d0ca35030a65d56cc4b4191fec940ea26804ea82.tar.gz |
commit bash-20090423 snapshot
Diffstat (limited to 'execute_cmd.c')
-rw-r--r-- | execute_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/execute_cmd.c b/execute_cmd.c index 09a382a6..204dd348 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -4372,7 +4372,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, #if defined (RESTRICTED_SHELL) command = (char *)NULL; - if (restricted && xstrchr (pathname, '/')) + if (restricted && mbschr (pathname, '/')) { internal_error (_("%s: restricted: cannot specify `/' in command names"), pathname); |