Commit Graph

76 Commits

Author SHA1 Message Date
illiliti 3700b9c642 check NULL 2020-08-02 15:50:17 +03:00
illiliti a41459e81c fix broken input 2020-08-01 18:31:29 +03:00
illiliti 8547b55072 use buffered io 2020-08-01 04:20:27 +03:00
illiliti c73a89dafc update readme 2020-08-01 03:47:37 +03:00
illiliti fca883ed54 get rid of ioctl
before - 2.964 total
after  - 0.932 total

still slow ???
2020-08-01 03:23:56 +03:00
illiliti c60bcdf666 rename len to cnt 2020-08-01 03:21:01 +03:00
illiliti 8a57e66afe pass O_NONBLOCK to open 2020-07-31 22:12:29 +03:00
illiliti 8c30f20b7e change logic 2020-07-31 21:30:38 +03:00
illiliti 314f1b005a change style 2020-07-31 01:19:27 +03:00
illiliti e751c69241 do not try to search parent device very deeply 2020-07-31 01:13:41 +03:00
illiliti bfd09f153e simplify logic 2020-07-31 00:28:09 +03:00
illiliti 37fe740623 check NULL before open devnode 2020-07-31 00:12:50 +03:00
illiliti a0528c5585 check NULL 2020-07-31 00:08:37 +03:00
illiliti 760346ed08 continue, no return 2020-07-30 23:37:51 +03:00
illiliti a73c1f89b1 update readme 2020-07-30 14:51:08 +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 89f33b8d9c update readme 2020-07-28 20:13:36 +03:00
illiliti 16a99644ad update readme 2020-07-28 20:13:09 +03:00
illiliti 60fd0bb19b update readme 2020-07-28 20:12:14 +03:00
illiliti 052dfec0d2 update readme 2020-07-28 20:05:59 +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 56537c691a no need 2020-07-26 18:50:42 +03:00
illiliti f63ec4a2e7 minor changes 2020-07-26 15:49:15 +03:00
illiliti a5d5e4dd2b fix gcc 10 2020-07-26 12:34:43 +03:00
illiliti b9ab0e2fe9 use limits constants instead of hardcoded ones 2020-07-25 17:48:37 +03:00
illiliti 984295b4a0 minor fixes 2020-07-25 17:42:47 +03:00
illiliti d05676f232 drop O_NOFOLLOW 2020-07-25 16:44:17 +03:00
illiliti d4a60c10c0 use readlink 2020-07-25 16:41:10 +03:00
illiliti c7cc417701 simplify 2020-07-25 16:38:59 +03:00
illiliti 28ff928699 split 2020-07-25 16:23:46 +03:00
illiliti 92901c5b24 update readme 2020-07-22 21:19:50 +03:00
illiliti 60336bcf3b add missing include 2020-07-22 21:04:31 +03:00
illiliti 1f3d92132d update readme 2020-07-20 01:01:02 +03:00
illiliti f20aaf258e update readme 2020-07-19 21:55:42 +03:00
illiliti df1daa9f8b add donation link 2020-07-19 03:13:35 +03:00
illiliti df1b1b4319 add CPPFLAGS 2020-07-18 18:28:33 +03:00
illiliti af7bbc8bec drop _POSIX_VERSION definition 2020-07-18 05:59:11 +03:00
illiliti 8a946ad9e6 drop UDEV_EXPORT 2020-07-18 05:15:00 +03:00
illiliti 86d3dcab0f update readme 2020-07-17 23:04:36 +03:00
illiliti 758ad07c26 change style 2020-07-17 21:36:59 +03:00
illiliti 20314c6256 add udev_hwdb 2020-07-17 07:53:32 +03:00
illiliti ce939476f7 update readme 2020-07-17 07:47:23 +03:00
illiliti 8b7689302d fix 2020-07-17 04:48:15 +03:00
illiliti 09dbf27a07 implement udev_device_new_from_subsystem_sysname 2020-07-16 22:53:23 +03:00
illiliti f9eeef168e typo 2020-07-16 22:07:42 +03:00