update TODO

This commit is contained in:
Kay Sievers 2006-09-02 14:26:44 +02:00
parent 7b08597467
commit 3c2081fcb7
3 changed files with 4 additions and 7 deletions

8
TODO
View file

@ -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)

View file

@ -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>

View file

@ -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;
}