Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2019 13:15:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails
Message-ID:  <bug-236933-7141-1AL6DngqPI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236933

Emmanuel Vadot <manu@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Overcome By Events          |---
             Status|Closed                      |In Progress
                 CC|                            |manu@freebsd.org

--- Comment #3 from Emmanuel Vadot <manu@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 =3D drmGetNodeType(strrchr(name, '/') + 1);

Do you plan to submit that upstream ?

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236933-7141-1AL6DngqPI>