1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00

42636: fix GLOB_DOTS for !(RM_STAR_SILENT)

Also fix paste-o in older log entry
This commit is contained in:
Barton E. Schaefer 2018-04-15 10:56:35 -07:00
parent 5bd659352f
commit 517cda3832
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2018-04-15 Barton E. Schaefer <schaefer@zsh.org>
* 42636: Src/utils.c: fix GLOB_DOTS for !(RM_STAR_SILENT)
2018-04-13 Daniel Hahler <zsh@thequod.de>
* 42631: Completion/Unix/Command/_pgrep: _pgrep: pkill: fix completion
@ -206,7 +210,7 @@
* 42487: Src/Zle/compctl.c: remove gcc 7.3.0 warnings and
potentially incorrect pointer usage.
2018-03-18 Barton E. Schaefer <schaefer@brasslantern.com>
2018-03-18 Barton E. Schaefer <schaefer@zsh.org>
* Stephane: 42469: Src/exec.c, Src/Modules/mapfile.c: fix 42465

View file

@ -2775,10 +2775,11 @@ checkrmall(char *s)
const int max_count = 100;
if ((rmd = opendir(unmeta(s)))) {
int ignoredots = !isset(GLOBDOTS);
/* ### TODO: Passing ignoredots here is wrong. See workers/41672
aka <https://bugs.debian.org/875460>.
*/
while (zreaddir(rmd, ignoredots)) {
char *fname;
while (fname = zreaddir(rmd, 1)) {
if (ignoredots && *fname == '.')
continue;
count++;
if (count > max_count)
break;