wok view busybox/stuff/busybox-1.28-ash.u @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (2019-01-11)
parents
children
line source
1 Some SliTaz scripts (cook) need that...
2 --- busybox-1.28/shell/ash.c
3 +++ busybox-1.28/shell/ash.c
4 @@ -12897,7 +12897,13 @@
5 if (strchr(name, '/'))
6 return name;
8 + /* IIRC standards do not say whether . is to be searched. */
9 + if (ENABLE_ASH_BASH_COMPAT) {
10 + fullname = name;
11 + goto try_cur_dir;
12 + }
13 while ((fullname = path_advance(&path, name)) != NULL) {
14 + try_cur_dir:
15 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
16 /*
17 * Don't bother freeing here, since it will