summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 7c1204a47..866c7de05 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12502,16 +12502,7 @@ find_dot_file(char *name)
if (strchr(name, '/'))
return name;
- /* IIRC standards do not say whether . is to be searched.
- * And it is even smaller this way, making it unconditional for now:
- */
- if (1) { /* ENABLE_ASH_BASH_COMPAT */
- fullname = name;
- goto try_cur_dir;
- }
-
while ((fullname = path_advance(&path, name)) != NULL) {
- try_cur_dir:
if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
/*
* Don't bother freeing here, since it will