diff options
-rw-r--r-- | TODO | 8 | ||||
-rw-r--r-- | logging.h | 2 | ||||
-rw-r--r-- | udev_sysdeps.c | 1 |
3 files changed, 4 insertions, 7 deletions
@@ -4,20 +4,18 @@ These things would be nice to have: any of the links at that time These things will change in future udev versions: - o remove /sys prefix from symlinks in /dev/.udev/{queue,failed} + o use zero sized files instead of symlinks in /dev/.udev/{queue,failed} (broken tools search /dev for files and get lost following to /sys and stat() sysfs files million times) o make DRIVER== to match only the event device (DRIVERS must be used, we currently translate it to DRIVERS and print - an error if DRIVER is used) - - o switch to fnmatch() instead of our own implementation + a warning if DRIVER is used) o warn if PHYSDEV* keys are used in ENV keys (they are deprecated and will be removed from a future kernel) - o warn if "/device/" is used in a ATTR, ATTRS, $sysfs key + o warn if "device/" is used in a ATTR{}, ATTRS{}, $attr{} key (the device link must not be used in rules or tools, udev resolves the link and makes the devices available as parents, which can be matched with the normal keys) @@ -1,5 +1,5 @@ /* - * Simple logging functions that can be compiled away into nothing. + * simple logging functions that can be expanded into nothing * * Copyright (C) 2003-2004 Greg Kroah-Hartman <greg@kroah.com> * Copyright (C) 2004-2006 Kay Sievers <kay.sievers@vrfy.org> diff --git a/udev_sysdeps.c b/udev_sysdeps.c index 0cb2540659..9447cca936 100644 --- a/udev_sysdeps.c +++ b/udev_sysdeps.c @@ -44,7 +44,6 @@ size_t strlcpy(char *dst, const char *src, size_t size) /* If size == 0 there is no space for a final null... */ if (size) *q = '\0'; - return bytes; } |