diff options
author | Toomas Soome <tsoome@me.com> | 2017-07-11 00:49:25 +0300 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2018-02-26 20:42:03 -0500 |
commit | 5ae8bd5389562e74de30aac044ab33ec90e930a5 (patch) | |
tree | f43fdcf10c56fd4bc49ca33625a6c580587047f8 /usr/src/lib/libshell/common/sh/path.c | |
parent | 2a898b17c54fe53254413d8d4cac0de440289b59 (diff) | |
download | illumos-gate-5ae8bd5389562e74de30aac044ab33ec90e930a5.tar.gz |
9165 libshell: this statement may fall through
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/lib/libshell/common/sh/path.c')
-rw-r--r-- | usr/src/lib/libshell/common/sh/path.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/lib/libshell/common/sh/path.c b/usr/src/lib/libshell/common/sh/path.c index c6f691aef4..be90dd7b8f 100644 --- a/usr/src/lib/libshell/common/sh/path.c +++ b/usr/src/lib/libshell/common/sh/path.c @@ -1173,6 +1173,7 @@ retry: } exscript(shp,path,argv,envp); #ifndef apollo + /* FALLTHROUGH */ case EACCES: { struct stat statb; @@ -1186,9 +1187,9 @@ retry: #endif } } - /* FALL THROUGH */ #endif /* !apollo */ #ifdef ENAMETOOLONG + /* FALLTHROUGH */ case ENAMETOOLONG: #endif /* ENAMETOOLONG */ #if !SHOPT_SUID_EXEC @@ -1211,6 +1212,7 @@ retry: goto retry; return(pid); } + /* FALLTHROUGH */ default: errormsg(SH_DICT,ERROR_system(ERROR_NOEXEC),e_exec,path); } |