Skip to content
Commit 34306efe authored by Alex Richardson's avatar Alex Richardson Committed by Simon Ser
Browse files

Change wl_os_dupfd_cloexec minfd to be int



The fcntl() argument is defined to be an int and not a long. This does not
matter on most architectures since the value is passed in registers, but
it causes issues on big-endian architectures that pass variadic arguments
on the stack.

Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
parent e8819349
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment