]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Make sure newer apps get uname_x even when loading uname dynamically
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 14 Dec 2020 11:29:23 +0000 (12:29 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Dec 2020 12:05:13 +0000 (13:05 +0100)
commit532b91d24e9496c7988b2b1dda7fc0e8b161f782
tree217d87fdaf0f9308b28ee8f9caa28b23ee692c81
parent6cc47c4c330a6468dd8a42b88f97c5aaecad3cdb
Cygwin: Make sure newer apps get uname_x even when loading uname dynamically

if an application built after API version 334 loads uname dynamically,
it actually gets the old uname, rather than the new uname_x.  Fix this by
checking the apps API version in uname and call uname_x instead, if it's
a newer app.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/uname.cc
This page took 0.030154 seconds and 5 git commands to generate.