Fix renameat2 configure check
Give this a chance to ever succeed by not using undefined variables in the test code. Found by a KDE unit test observing changes in inotify behavior between Qt5 and Qt6. Change-Id: Iceb743d88dfa093c02d76ce32ea5c8ced24bfc5b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 193039dff343139de4a83b7811c11927be63a4ed)
This commit is contained in:
parent
2b8938edeb
commit
71f57c3e7e
@ -435,7 +435,7 @@ qt_config_compile_test(renameat2
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
int main(int, char **argv)
|
||||
{
|
||||
/* BEGIN TEST: */
|
||||
renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user