Re: [PATCH xserver 06/19] loader: Remove *GetOS

2017-01-25 Thread Adam Jackson
On Mon, 2017-01-23 at 23:44 +0100, Julien Cristau wrote: > On Mon, Jan 23, 2017 at 14:32:20 -0500, Adam Jackson wrote: > > > This API is dumb.  uname(3) exists, feel free to use it, but ideally > > write to the interface not to the OS.  There are a couple of drivers > > using this API, they could

Re: [PATCH xserver 06/19] loader: Remove *GetOS

2017-01-23 Thread Julien Cristau
On Mon, Jan 23, 2017 at 14:32:20 -0500, Adam Jackson wrote: > This API is dumb. uname(3) exists, feel free to use it, but ideally > write to the interface not to the OS. There are a couple of drivers > using this API, they could all reasonably just not. > It's uname(2) AFAICT :) Cheers,

[PATCH xserver 06/19] loader: Remove *GetOS

2017-01-23 Thread Adam Jackson
This API is dumb. uname(3) exists, feel free to use it, but ideally write to the interface not to the OS. There are a couple of drivers using this API, they could all reasonably just not. This also removes the OS name from the loader subdirectory path search. Having /usr/lib/xorg shared across