wok annotate 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
rev   line source
pascal@20205 1 Some SliTaz scripts (cook) need that...
pascal@20205 2 --- busybox-1.28/shell/ash.c
pascal@20205 3 +++ busybox-1.28/shell/ash.c
pascal@20205 4 @@ -12897,7 +12897,13 @@
pascal@20205 5 if (strchr(name, '/'))
pascal@20205 6 return name;
pascal@20205 7
pascal@20205 8 + /* IIRC standards do not say whether . is to be searched. */
pascal@20205 9 + if (ENABLE_ASH_BASH_COMPAT) {
pascal@20205 10 + fullname = name;
pascal@20205 11 + goto try_cur_dir;
pascal@20205 12 + }
pascal@20205 13 while ((fullname = path_advance(&path, name)) != NULL) {
pascal@20205 14 + try_cur_dir:
pascal@20205 15 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
pascal@20205 16 /*
pascal@20205 17 * Don't bother freeing here, since it will