summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_libvirt
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-05-23 06:48:45 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-05-25 07:10:42 +0200
commitfb8eb42874a41de41a8e1adfba96ef6fa6308561 (patch)
treee00c8a5800dd4805eca2a41d47b2572227b31168 /Completion/Unix/Command/_libvirt
parent54598: fix getfpfunc metafication (diff)
downloadzsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar.gz
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar.bz2
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar.lz
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar.xz
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.tar.zst
zsh-fb8eb42874a41de41a8e1adfba96ef6fa6308561.zip
54599: use correct buf size in cancd
When path is metafied, it can be longer than PATH_MAX, so use MAXCMDLEN. Using ztrlen >= PATH_MAX instead of strlen >= MAXCMDLEN is just a minor optimization to avoid the syscall if we know the path is too long anyway, but it's not worth doing this extra check on the result of the snprintf call (probably).
Diffstat (limited to 'Completion/Unix/Command/_libvirt')
0 files changed, 0 insertions, 0 deletions