From 3c2081fcb7e3c5483953aa8226112360fcb1aed7 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 2 Sep 2006 14:26:44 +0200 Subject: [PATCH 1/1] update TODO --- TODO | 8 +++----- logging.h | 2 +- udev_sysdeps.c | 1 - 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 7954deb50..a08cb84f7 100644 --- a/TODO +++ b/TODO @@ -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) diff --git a/logging.h b/logging.h index f49f272d7..6e1d5a20e 100644 --- a/logging.h +++ b/logging.h @@ -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 * Copyright (C) 2004-2006 Kay Sievers diff --git a/udev_sysdeps.c b/udev_sysdeps.c index 0cb254065..9447cca93 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; } -- 2.30.2