]> mj.ucw.cz Git - pciutils.git/commit
libpci: windows: Fix path returned by GetModuleFileName()
authorPali Rohár <pali@kernel.org>
Fri, 18 Nov 2022 21:57:11 +0000 (22:57 +0100)
committerPali Rohár <pali@kernel.org>
Fri, 18 Nov 2022 21:57:11 +0000 (22:57 +0100)
commit6cf9052e88e23902a6fd1e6dcb8f07145383501c
tree2d51cfd1c7a50611d39bcf52b04dc8302911684c
parent43fd29c72dea38d080be5681056b6a9e536e590b
libpci: windows: Fix path returned by GetModuleFileName()

GetModuleFileName() on Windows 10 has bugs and returns bogus path.
Implement fixups to make path usable for later fopen() call.
lib/init.c