Commit Graph

24 Commits

Author SHA1 Message Date
illiliti 3d98bea289 *: code cleanup 2021-08-25 01:38:33 +03:00
illiliti bd7d1803e6 udev_enumerate.c: fix possible memory leak
Early return due to pthread_create() failure causes memory leak.
2021-06-11 14:06:20 +03:00
Naoto Yamaguchi 75a40e1040 Add license information to source files
Current libudev-zero source code doesn't have license information in source files.
This patch add license information to source files based on SPDX standard.
2021-06-05 07:38:25 +00:00
illiliti 802c5b8695 udev_enumerate.c: check return value of pthread_create 2021-06-03 11:44:50 +03:00
illiliti f44332df5a various: drop udev_* prefix from static functions 2021-05-26 17:55:29 +03:00
illiliti b90b0acc88 general code cleanup 2021-01-20 08:58:19 +03:00
illiliti be97914ade move not implemented comment to the same line of function for easier parsability 2020-09-16 21:51:08 +03:00
illiliti 25977fddb5 cleanup 2020-08-04 21:32:06 +03:00
illiliti c60bcdf666 rename len to cnt 2020-08-01 03:21:01 +03:00
illiliti 760346ed08 continue, no return 2020-07-30 23:37:51 +03:00
illiliti 9b7641d9ec do not handle unique values when no need 2020-07-29 12:27:40 +03:00
illiliti edaf268cac const char where possible 2020-07-29 12:09:11 +03:00
illiliti eea8f66e76 further simplify 2020-07-29 11:56:29 +03:00
illiliti f96a573155 simplify error handling 2020-07-28 21:38:57 +03:00
illiliti 1e7ec603bc do udev_device_unref before lock 2020-07-28 20:51:01 +03:00
illiliti 2231740380 use static allocation 2020-07-28 19:45:36 +03:00
illiliti e988d6f67c implement pthreads
before - 3.870 total
after  - 2.964 total

not really big difference, huh ?
2020-07-28 13:05:51 +03:00
illiliti 8a946ad9e6 drop UDEV_EXPORT 2020-07-18 05:15:00 +03:00
illiliti 758ad07c26 change style 2020-07-17 21:36:59 +03:00
illiliti 3df658c73d remove useless include 2020-07-14 00:10:51 +03:00
illiliti 00b13d3268 use static 2020-07-13 22:46:01 +03:00
illiliti a5b5667dce rewrite 2020-07-08 14:38:40 +03:00
illiliti dbb13e9286 implement udev_enumerate_scan_devices, rewrite udev_device logic 2020-07-07 10:07:24 +03:00
illiliti 7a09bb0557 init 2020-07-04 09:25:16 +03:00