projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9af108
)
util: when reading a line from a file have space for at least 2k chars
author
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Apr 2010 23:43:25 +0000
(
01:43
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Apr 2010 23:43:25 +0000
(
01:43
+0200)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index
a0f2676
..
69a26a2
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-412,7
+412,7
@@
finish:
int read_one_line_file(const char *fn, char **line) {
FILE *f;
int r;
- char t[
64
], *c;
+ char t[
2048
], *c;
assert(fn);
assert(line);