aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/makepath.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-02-26 09:36:43 -0500
committerChet Ramey <chet.ramey@case.edu>2014-02-26 09:36:43 -0500
commitac50fbac377e32b98d2de396f016ea81e8ee9961 (patch)
treef71882366b98fedf1a88a063103219a4935de926 /lib/sh/makepath.c
parent4539d736f1aff232857a854fd2a68df0c98d9f34 (diff)
downloadandroid_external_bash-ac50fbac377e32b98d2de396f016ea81e8ee9961.tar.gz
android_external_bash-ac50fbac377e32b98d2de396f016ea81e8ee9961.tar.bz2
android_external_bash-ac50fbac377e32b98d2de396f016ea81e8ee9961.zip
Bash-4.3 distribution sources and documentation
Diffstat (limited to 'lib/sh/makepath.c')
-rw-r--r--lib/sh/makepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/makepath.c b/lib/sh/makepath.c
index 43dbab2..ef01718 100644
--- a/lib/sh/makepath.c
+++ b/lib/sh/makepath.c
@@ -94,7 +94,7 @@ sh_makepath (path, dir, flags)
MAKEDOT();
}
else if ((flags & MP_IGNDOT) && path[0] == '.' && (path[1] == '\0' ||
- path[1] == '/' && path[2] == '\0'))
+ (path[1] == '/' && path[2] == '\0')))
{
xpath = nullpath;
pathlen = 0;