[CBLX] c'est bien un bug brltty sous Lenny Fwd:[Bug#516091: Bus specifiers are mistakenly interpreted as relative paths]

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Hello,

nous voilà rassurés: le blème que j'ai eu hier soir après l'installation de
Lenny, est bien un bug, dont l'origine est expliquée ci-après :

----- Forwarded message from Mario Lang <mlang@xxxxxxxxxx> -----

From: Mario Lang <mlang@xxxxxxxxxx>
Date: Thu, 19 Feb 2009 10:54:15 +0100
To: submit@xxxxxxxxxxxxxxx
Subject: Bug#516091: Bus specifiers are mistakenly interpreted as relative
	paths
Reply-To: Mario Lang <mlang@xxxxxxxxxx>, 516091@xxxxxxxxxxxxxxx
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Package: brltty
Version: 3.10~r3724-1+b1
Severity: important

Aldo <info@xxxxxxxxxxxx> writes:

> after having succesfully installed Debian 5.0 Lenny on my Asus laptop, I
> discovered after rebooting that my braille display wasn't started, while it
> had worked during installation.
>
> Then I opened a console, became root and typed:
> killall brltty (to be sure nothing was running ... and I was right,
> something but wrongly configured was running ...)
> then brltty -b al -d USB: -t de
> and ..... that was running perfectly as wanted!
>
> I edited /etc/brltty.conf because I noticed the /dev/ on the
> braille-device line before USB:

I can confirm this bug.  Its root cause is the following stupid piece of shell code:

                     2)
                        brailleDevice=${parameter}
                        test "`expr "${brailleDevice}" : "/"`" -eq 0 && \
                            brailleDevice="/dev/${brailleDevice}"
                        test "`expr "${brailleDevice}" : "/dev/tts/"`" -eq 9 && \
                            brailleDevice="/dev/ttyS`expr substr ${brailleDevice} 10 2`"
                        ;;

The check for a leading slash should have checked if the string contains
any colons first.

This should get fixed ASAP.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@xxxxxxxxxxxxx
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>



--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxxx


----- End forwarded message -----

--
	https://bugs.launchpad.net/ubuntu/+bug/1 : 
Micro$oft has a majority market share in the new desktop PC marketplace.
This is a bug, which Ubuntu is designed to fix ! 
	http://www.ubuntu.com/ 
 

---
--
   CarrefourBLinuX MailingListe
   Pour obtenir de l'aide, envoyez le sujet  help  �   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives:
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/