chiark / gitweb /
libudev: use 4096 bytes buffer for attribute reading
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 14 Jan 2009 20:54:31 +0000 (21:54 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 14 Jan 2009 20:54:31 +0000 (21:54 +0100)
configure.ac
udev/lib/libudev-device.c

index 5e7adb938c3e5d4a31db5a89a1a13db4f2831e08..bc2e9c27b0f3c2eb0a2b5bae705cb6d9d5e0ad98 100644 (file)
@@ -15,7 +15,7 @@ test "$prefix" = NONE && test "$exec_prefix" = NONE && exec_prefix=
 
 dnl /* libudev version */
 LIBUDEV_LT_CURRENT=0
-LIBUDEV_LT_REVISION=7
+LIBUDEV_LT_REVISION=8
 LIBUDEV_LT_AGE=0
 AC_SUBST(LIBUDEV_LT_CURRENT)
 AC_SUBST(LIBUDEV_LT_REVISION)
index a7722b3f6e824319e37153d2ab603042f2cf2167..fc881fb3fdacf27c5d194de6da0825254bc96df8 100644 (file)
@@ -862,7 +862,7 @@ const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const
 {
        struct udev_list_entry *list_entry;
        char path[UTIL_PATH_SIZE];
-       char value[UTIL_NAME_SIZE];
+       char value[4096];
        struct stat statbuf;
        int fd;
        ssize_t size;