[Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 3 13:15:32 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236933
Emmanuel Vadot <manu at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|Overcome By Events |---
Status|Closed |In Progress
CC| |manu at freebsd.org
--- Comment #3 from Emmanuel Vadot <manu at freebsd.org> ---
Damn, this file is a mess for FreeBSD ...
Anyway I would prefer to have strrchr instead of a for loop and strtok :
int type = drmGetNodeType(strrchr(name, '/') + 1);
Do you plan to submit that upstream ?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-x11
mailing list