1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/extras/volume_id/lib
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
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
adaptec_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
btrfs.c volume_id: btrfs - update magic to latest disk format 2008-10-16 17:10:47 +02:00
cramfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
ddf_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
exported_symbols volume_id: remove deprecated functions and bump major version 2008-08-28 23:39:41 +02:00
ext.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
fat.c volume_id: more fat debugging 2008-10-06 18:17:05 +02:00
gfs.c volume_id: support for GFS2 UUIDs 2008-10-13 03:23:31 +02:00
hfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
highpoint.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
hpfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
iso9660.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
isw_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
jfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
jmicron_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
libvolume_id-private.h volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
libvolume_id.h update file headers 2008-09-10 02:40:42 +02:00
libvolume_id.pc.in use autotools 2008-07-30 01:45:23 +02:00
linux_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
linux_swap.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
lsi_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
luks.c update file headers 2008-09-10 02:40:42 +02:00
lvm.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
Makefile.am volume_id: add btrfs 2008-10-03 17:23:12 +02:00
md5.c update file headers 2008-09-10 02:40:42 +02:00
md5.h volume_id: hfs - calculate proper uuid 2008-08-31 12:20:24 +02:00
minix.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
netware.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
ntfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
nvidia_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
ocfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
oracleasm.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
promise_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
reiserfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
romfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
silicon_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
squashfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
sysv.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
udf.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
ufs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
util.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
via_raid.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
volume_id.c use more appropriate alternatives to malloc() 2008-10-21 12:54:57 +02:00
vxfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00
xfs.c volume_id: use PRIu64i, PRIx64 macros 2008-10-03 18:24:04 +02:00