1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
systemd-stable/extras
Alan Jenkins b29a5e4ab9 use more appropriate alternatives to malloc()
Use calloc to request cleared memory instead.
Kernel and libc conspire to make this more efficient.

Also, replace one malloc() + strcpy() with strdup().

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21 12:54:57 +02:00
..
ata_id libudev: add global property list 2008-10-16 13:51:29 +02:00
cdrom_id cdrom_id: remove ARRAY_SIZE() declaration 2008-10-21 12:40:47 +02:00
collect use more appropriate alternatives to malloc() 2008-10-21 12:54:57 +02:00
edd_id libudev: add global property list 2008-10-16 13:51:29 +02:00
firmware build: include Makefile.am.inc in all Makefile.am 2008-10-01 18:02:39 +02:00
floppy prefix udev-util.c functions with util_* 2008-10-18 20:12:55 +02:00
fstab_import libudev: add global property list 2008-10-16 13:51:29 +02:00
path_id build: include Makefile.am.inc in all Makefile.am 2008-10-01 18:02:39 +02:00
rule_generator build: include Makefile.am.inc in all Makefile.am 2008-10-01 18:02:39 +02:00
scsi_id libudev: add global property list 2008-10-16 13:51:29 +02:00
usb_id libudev: device - get_attr_value() -> get_sysattr_value() 2008-10-20 18:12:36 +02:00
volume_id use more appropriate alternatives to malloc() 2008-10-21 12:54:57 +02:00
Makefile.am build: include Makefile.am.inc in all Makefile.am 2008-10-01 18:02:39 +02:00