about summary refs log tree commit diff
path: root/src/thread/pthread_mutex_trylock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-08 02:18:06 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-08 02:18:06 -0500
commit131871a3d846369fd925d3f8edb692edbad77e4d (patch)
treebd22b296221578478c0b11afc80c6538f6550910 /src/thread/pthread_mutex_trylock.c
parent1d23b3c9136f606276142ec0037ff78fbb95e26d (diff)
downloadmusl-131871a3d846369fd925d3f8edb692edbad77e4d.tar.gz
musl-131871a3d846369fd925d3f8edb692edbad77e4d.tar.xz
musl-131871a3d846369fd925d3f8edb692edbad77e4d.zip
in fcntl, avoid passing pointer arguments to syscalls as longs
really, fcntl should be changed to use the correct type corresponding
to cmd when calling va_arg, and to carry the correct type through
until making the syscall. however, this greatly increases binary size
and does not seem to offer any benefits except formal correctness, so
I'm holding off on that change for now.

the minimal changes made in this patch are in preparation for addition
of the x32 port, where the syscall macros need to know whether their
arguments are pointers or integers in order to properly pass them to
the 64-bit kernel.
Diffstat (limited to 'src/thread/pthread_mutex_trylock.c')
0 files changed, 0 insertions, 0 deletions