Project

General

Profile

Bug #1087

Plugins loading problem

Added by akazennikov almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2012-09-02
% Done:

100%


Description

The plugins loading subsystem used opendir()/readdir() to find all installed games plugins. For code on linux/macosx it uses dirent->d_type for filtering out any entries that are not files or symlinks. But the check also skips the case when readdir() can't detect the entry type and d_type is DT_UNKNOWN.

My Archlinux installation exibits this behavior, so Doomsday doesn't run correctly.
As man page for readdir() says, this type detection could be unavailable on some filesystems.

Labels: Engine, Plugins, Unix

History

#1 Updated by skyjake almost 10 years ago

- labels: --> Engine, Plugins, Unix
- status: open --> fixed
- assigned_to: Jaakko Keränen
- milestone: v1.9.8 --> v1.9.9
- priority: 1 --> 4

#2 Updated by skyjake almost 10 years ago

This should now be fixed in commit 43a67ae.

Also available in: Atom PDF