chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b8015ee
)
udev-rules.c: change import property buffer to 16384 bytes
author
Harald Hoyer
<harald@redhat.com>
Fri, 12 Nov 2010 13:39:14 +0000
(14:39 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 12 Nov 2010 13:42:35 +0000
(14:42 +0100)
import_program_into_properties() should have the same line length as
import_file_into_properties()
see also https://bugzilla.redhat.com/show_bug.cgi?id=652318
udev/udev-rules.c
patch
|
blob
|
history
diff --git
a/udev/udev-rules.c
b/udev/udev-rules.c
index 52f121c29a73181eaac0db3292cc90be49ec2df1..ab7b6aedb977e16f39687ebc39c017dea75c332f 100644
(file)
--- a/
udev/udev-rules.c
+++ b/
udev/udev-rules.c
@@
-751,7
+751,7
@@
static int import_program_into_properties(struct udev_device *dev, const char *p
{
struct udev *udev = udev_device_get_udev(dev);
char **envp;
- char result[
4096
];
+ char result[
UTIL_LINE_SIZE
];
size_t reslen;
char *line;