Hi!

libdrm-2.4.37 added a use of ETIME (from errno(3)) in
intel/intel_bufmgr_gem.c.

This errno is not defined on (at least) DragonFly BSD.

A Linux man page for errno(3) says:
        ETIME           Timer expired (POSIX.1 (XSI STREAMS option))
                        (POSIX.1 says "STREAM ioctl(2) timeout")

Since this errno is only defined for a POSIX extension, wouldn't it
make more sense to use the standard errno(3) ETIMEDOUT instead which
exists in more environments?
 Thomas
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to