Bug#294877: Patch

Bastien Nocera Bastien Nocera <hadess@hadess.net>, 294877@bugs.debian.org
Thu, 17 Feb 2005 19:07:02 +0000


On Sat, 2005-02-12 at 18:14 +0000, Sam Morris wrote:
> I have written a patch for this problem. The error happens because Totem 
> doesn't take into account device paths with '..' in their name; this 
> happens on my system because I have:
> 
> /dev/cdroms/cdrom1 -> ../ide/host0/bus1/target1/lun0/cd
> 
> So Totem gets the device path "/dev/../ide/host0/bus1/target1/lun0/cd", 
> which != "/dev/ide/host0/bus1/target1/lun0/cd" in the check on 
> totem-disc.c:197.

I committed your patch (slightly modified to take into account a
possible failure of realpath()) to Totem CVS.

Thanks

---
Bastien Nocera <hadess@hadess.net>