mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-29 15:40:56 +01:00
unposted (cf. 41672): checkrmall: Record the 41672 bug in a TODO.
This commit is contained in:
parent
15bed0db40
commit
ced82745ea
2 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2017-09-21 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted (cf. 41672): Src/utils.c: checkrmall: Record the
|
||||
41672 bug in a TODO.
|
||||
|
||||
* unposted (cf. 41707): Src/utils.c: internal: Document the
|
||||
count==0 case of checkrmall().
|
||||
|
||||
|
|
|
|||
|
|
@ -2709,6 +2709,9 @@ 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)) {
|
||||
count++;
|
||||
if (count > max_count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue