tags 586210 upstream fixed-upstream
retitle 586210 loading of "service" completion fails
thanks

Hello John,

On Thu, 17 Jun 2010 15:32:41 +0100, John Hedges wrote:

> I'ts a really rubbish bug report - I was in too much of a hurry!  The problem
> file is /etc/bash_completion.d/service and it causes a problem on my system
> when an empty string is passed to:
>     complete -F _service -o default ""
> 
> I've attached a patch that seems to fix it (rightly or not).

I slightly modified it, to make it more compact ([ -n "$services" ] instead of
the if..fi), and I've already applied it upstream.

The error you reported should only occur if every file in /etc/init.d/ has a
proper completion (that's the meaning of "complete -p ${i##*/} || printf
[..]"). This seems unlikely to happen again, but better be safe than sorry.
I can't say why it happened in your case.

I fixed it upstream, will make a Debian patch (with a package upload) ASAP (I
want to fix the RC-bug with -2).

Thank you for your contribution!
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to