about summary refs log tree commit diff
path: root/src/misc/ptsname.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-03-05 23:03:35 +0100
committerRich Felker <dalias@aerifal.cx>2017-03-05 20:02:31 -0500
commit827c4e6fbe46142049ef3d8bcb8f35951712797d (patch)
tree5f7a4ecc03a37de5d4feb656c0344eabeddd2d80 /src/misc/ptsname.c
parent0a4a16d11cc263c3f32325f985b9ed94b04af79f (diff)
downloadmusl-827c4e6fbe46142049ef3d8bcb8f35951712797d.tar.gz
musl-827c4e6fbe46142049ef3d8bcb8f35951712797d.tar.xz
musl-827c4e6fbe46142049ef3d8bcb8f35951712797d.zip
fix lsearch and lfind to pass key as first arg to the compar callback
this is not a conformance issue as posix does not specify the
argument order, but the order is specified for bsearch and some
systems document the order for lsearch consistently (openbsd).

since there were two indpendent reports of this issue it's better
to use the more widely expected argument order.
Diffstat (limited to 'src/misc/ptsname.c')
0 files changed, 0 insertions, 0 deletions