index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-04-29 23:40:06 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-29 23:40:06 -0500 |
commit | 5a9f5c60dae8d173e9e2f6da78499c046600e6ca (patch) | |
tree | 03026ea9b58078964d6b7c6be67378adf17d0610 /lib/libalpm/util.c | |
parent | 4d3170978711a91f1afe8ffef9dad9c2bc60585d (diff) |
-rw-r--r-- | lib/libalpm/util.c | 5 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index a392c773..996d7f4e 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1247,6 +1247,11 @@ int _alpm_fnmatch(const void *pattern, const void *string) return fnmatch(pattern, string, 0); } +void _alpm_alloc_fail(size_t size) +{ + fprintf(stderr, "alloc failure: could not allocate %zd bytes\n", size); +} + #ifndef HAVE_STRNDUP /* A quick and dirty implementation derived from glibc */ /** Determines the length of a fixed-size string. |