diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-14 07:24:38 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-16 10:39:58 +0200 |
| commit | 1a63833e0f65b30999bc5a2404f9d893eca8d15b (patch) | |
| tree | b13d194599e45036292449dd070ea3a772c9475f /Completion/Unix/Command/_script | |
| parent | unposted: _ansible: remove duplicate option (diff) | |
| download | zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar.gz zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar.bz2 zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar.lz zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar.xz zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.tar.zst zsh-1a63833e0f65b30999bc5a2404f9d893eca8d15b.zip | |
54771: fix a bug in nosort deduplication
Introduced in 49915.
Confusion in pointers could mark the wrong entries in some cases. Make
sure asp is incremented to the correct entry by the outer loop's
'asp++', and don't touch sp at all.
In particular, the third added test was missing the 'foo' entry:
Y01completion.ztst: starting.
--- expected
+++ actual
@@ -1,4 +1,3 @@
line: {tst }{}
-NO:{foo}
NO:{bar}
NO:{baz}
Was testing: nosort dedup with three same-string non-duplicates
Diffstat (limited to 'Completion/Unix/Command/_script')
0 files changed, 0 insertions, 0 deletions
