[PATCH:xman 1/2] Provide a fallback mkstemp so we don't need to maintain 2 API versions

Dan Nicholson dbn.lists at gmail.com
Sat Apr 20 11:06:29 PDT 2013


On Sat, Apr 20, 2013 at 10:08 AM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Unifies the file handling API's to always return an open fd or FILE *,
> instead of delaying the open when mkstemp was not available.
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Wow, that old code is pretty ugly. It looked pretty good to me, but I
didn't try extremely hard to navigate the previous #ifdef maze.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list