fix: noconfirm auto-selects first AUR match
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#include <config.h>
|
||||
#undef malloc
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Allocate an N-byte block of memory from the heap.
|
||||
If N is zero, allocate a 1-byte block. */
|
||||
|
||||
void *
|
||||
rpl_malloc (size_t n)
|
||||
{
|
||||
if (n == 0)
|
||||
n = 1;
|
||||
return malloc (n);
|
||||
}
|
||||
Reference in New Issue
Block a user