1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
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
Kay Sievers
002a957762 collect: use udev_list 2008-10-17 19:29:02 +02:00
Kay Sievers
033e9f8cde use no_argument, required_argument, optional_argument in longopts 2008-10-02 16:49:05 +02:00
Kay Sievers
e345e2670a libudev: rework list handling 2008-09-26 19:44:53 +02:00
Kay Sievers
3eb46ec6dd libudev: do not use any udev source file 2008-09-10 18:00:31 +02:00
Kay Sievers
01618658fd use autotools 2008-07-30 01:45:23 +02:00
Kay Sievers
7c389ce8a0 collect: fix size_t printf 2008-06-18 10:12:14 +02:00
Tobias Klauser
322fc7a636 collect: check realloc return value 2008-06-18 10:10:29 +02:00
Xinwei Hu
b5254b4203 collect: realloc buffer, if needed 2008-05-27 19:35:03 +02:00
Hannes Reinecke
c7ae0d343b collect: extra to synchronize actions across events 2007-07-24 13:28:18 +02:00