Bug#737361: higan: nall::directory doesn't handle symlinks/DT_UNKNOWN correctly
Michael Gold
michael at bitplane.org
Sat Feb 1 23:32:43 UTC 2014
Package: higan
Version: 094-2
Severity: important
Tags: patch
The game library and import dialog don't work at all on my system with
the packaged version of higan:
* I'm not able to navigate to the directories I want to use, because I
have symlinks pointing to them: symlinks to directories are treated
as files, and filtered out based on the filename pattern.
* Even after navigating to the link's target, no directories are
visible. Most of my filesystems use XFS, which doesn't fill d_type
in readdir (it sets DT_UNKNOWN); so these are also treated as files
and filtered out.
* If I manage to import a file by navigating to its parent directory,
it never appears in the Famicom / Super Famicom / etc. tabs, because
files get converted to directories when imported and directories get
filtered out as described above. (There's apparently no way to load
things without going through the library--e.g., on the command line.)
The attached patch fixes these functions.
- Michael
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages higan depends on:
ii libao4 1.1.0-2
ii libasound2 1.0.27.2-3
ii libatk1.0-0 2.10.0-2
ii libc6 2.17-97
ii libcairo2 1.12.16-2
ii libfontconfig1 2.11.0-2
ii libfreetype6 2.5.2-1
ii libgcc1 1:4.8.2-14
ii libgdk-pixbuf2.0-0 2.28.2-1+b1
ii libgl1-mesa-glx [libgl1] 9.2.2-1
ii libglib2.0-0 2.36.4-1
ii libgtk2.0-0 2.24.22-1
ii libopenal1 1:1.14-4
ii libpango-1.0-0 1.36.0-1+b1
ii libpangocairo-1.0-0 1.36.0-1+b1
ii libpangoft2-1.0-0 1.36.0-1+b1
ii libpulse0 4.0-6+b1
ii libsdl1.2debian 1.2.15-8
ii libstdc++6 4.8.2-14
ii libudev1 204-6
ii libx11-6 2:1.6.2-1
ii libxext6 2:1.3.2-1
ii libxv1 2:1.0.10-1
higan recommends no packages.
higan suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: higan-dt_lnk-dt_unknown.diff
Type: text/x-diff
Size: 1296 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140201/4d3ff1c7/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140201/4d3ff1c7/attachment.sig>
More information about the Pkg-games-devel
mailing list