fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,20 @@
/* Simple prog that sleeps for a random time. */
#include<stdlib.h>
#include<time.h>
#if defined(_WIN32)
#include<windows.h>
#endif
int main(void) {
srand(time(NULL));
#if !defined(_WIN32)
struct timespec t;
t.tv_sec = 0;
t.tv_nsec = 199999999.0*rand()/RAND_MAX;
nanosleep(&t, NULL);
#else
Sleep(50.0*rand()/RAND_MAX);
#endif
return 0;
}