summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-09-02 14:26:44 +0200
committerKay Sievers <kay.sievers@suse.de>2006-09-02 14:26:44 +0200
commit3c2081fcb7e3c5483953aa8226112360fcb1aed7 (patch)
tree964283434f72ad36cb758356f766dc6c79060e97
parent7b0859746791a6af264862f420e04d52fe05e767 (diff)
update TODO
-rw-r--r--TODO8
-rw-r--r--logging.h2
-rw-r--r--udev_sysdeps.c1
3 files changed, 4 insertions, 7 deletions
diff --git a/TODO b/TODO
index 7954deb500..a08cb84f7b 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 f49f272d74..6e1d5a20ef 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 <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;
}