1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/lib/libalpm
Dan McGee 5a9f5c60da Convert ALLOC_FAIL macro into a function
This path is rarely (read: never) taken in any normal run of the code,
so injecting the fprintf() call everywhere with the macro is a bit
overkill. Instead, add a lightweight _alpm_alloc_fail() function that
gets called instead.

This does have a reasonable effect on the size of the generated code;
most places using the macros provided by util.c have their code size
reduced.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-29 23:40:06 -05:00
..
po Updates from Transifex 2012-04-07 10:13:37 -05:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c Update copyright years 2012-02-20 16:54:34 -06:00
add.h Update copyright years 2012-02-20 16:54:34 -06:00
alpm_list.c Update copyright years 2012-02-20 16:54:34 -06:00
alpm_list.h Update copyright years 2012-02-20 16:54:34 -06:00
alpm.c Update copyright years 2012-02-20 16:54:34 -06:00
alpm.h Prefix alpm_pkgfrom_t members with ALPM_ 2012-04-07 11:29:55 -05:00
backup.c Update copyright years 2012-02-20 16:54:34 -06:00
backup.h Update copyright years 2012-02-20 16:54:34 -06:00
base64.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c Convert ALLOC_FAIL macro into a function 2012-04-29 23:40:06 -05:00
be_package.c Convert ALLOC_FAIL macro into a function 2012-04-29 23:40:06 -05:00
be_sync.c Prefix alpm_pkgfrom_t members with ALPM_ 2012-04-07 11:29:55 -05:00
conflict.c Move short-lived realpath buffers to the stack 2012-04-29 20:14:10 -05:00
conflict.h Update copyright years 2012-02-20 16:54:34 -06:00
db.c Update copyright years 2012-02-20 16:54:34 -06:00
db.h Update copyright years 2012-02-20 16:54:34 -06:00
delta.c Update copyright years 2012-02-20 16:54:34 -06:00
delta.h Update copyright years 2012-02-20 16:54:34 -06:00
deps.c Various tweaks to support building with excessive GCC warning flags 2012-04-08 22:28:45 -04:00
deps.h Update copyright years 2012-02-20 16:54:34 -06:00
diskspace.c Fix a signed overflow error on i686 with GCC 4.7.0 2012-04-08 22:32:49 -05:00
diskspace.h Update copyright years 2012-02-20 16:54:34 -06:00
dload.c Merge branch 'maint' 2012-04-12 08:57:26 -05:00
dload.h Update copyright years 2012-02-20 16:54:34 -06:00
error.c Return more useful error codes on package open failures 2012-04-07 11:29:11 -05:00
graph.c Update copyright years 2012-02-20 16:54:34 -06:00
graph.h Update copyright years 2012-02-20 16:54:34 -06:00
group.c Pointer coding style cleanups 2012-04-24 21:05:51 -05:00
group.h Update copyright years 2012-02-20 16:54:34 -06:00
handle.c Move short-lived realpath buffers to the stack 2012-04-29 20:14:10 -05:00
handle.h Update copyright years 2012-02-20 16:54:34 -06:00
libalpm.pc.in libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
log.c Update copyright years 2012-02-20 16:54:34 -06:00
log.h Update copyright years 2012-02-20 16:54:34 -06:00
Makefile.am libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
md5.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Pointer coding style cleanups 2012-04-24 21:05:51 -05:00
package.h Pointer coding style cleanups 2012-04-24 21:05:51 -05:00
pkghash.c Update copyright years 2012-02-20 16:54:34 -06:00
pkghash.h Update copyright years 2012-02-20 16:54:34 -06:00
rawstr.c include util.h in rawstr.c 2011-07-05 22:36:40 -05:00
remove.c Merge branch 'maint' 2012-01-23 12:20:52 -06:00
remove.h Update copyright years 2012-02-20 16:54:34 -06:00
sha2.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Merge branch 'maint' 2012-04-12 08:57:26 -05:00
signing.h Update copyright years 2012-02-20 16:54:34 -06:00
sync.c Prefix alpm_pkgfrom_t members with ALPM_ 2012-04-07 11:29:55 -05:00
sync.h Update copyright years 2012-02-20 16:54:34 -06:00
trans.c Various tweaks to support building with excessive GCC warning flags 2012-04-08 22:28:45 -04:00
trans.h Update copyright years 2012-02-20 16:54:34 -06:00
util.c Convert ALLOC_FAIL macro into a function 2012-04-29 23:40:06 -05:00
util.h Convert ALLOC_FAIL macro into a function 2012-04-29 23:40:06 -05:00
version.c Update copyright years 2012-02-20 16:54:34 -06:00