projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca34d7b
)
Fixed wrong file lock used to read history items.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 6 Apr 2013 14:48:19 +0000
(16:48 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 6 Apr 2013 14:48:19 +0000
(16:48 +0200)
src/history.c
patch
|
blob
|
history
diff --git
a/src/history.c
b/src/history.c
index
11b59be
..
c4ce593
100644
(file)
--- a/
src/history.c
+++ b/
src/history.c
@@
-188,7
+188,7
@@
static GList *load(const char *file)
return list;
}
- file_lock_set(fileno(f), F_
WR
LCK);
+ file_lock_set(fileno(f), F_
RD
LCK);
while (fgets(buf, sizeof(buf), f)) {
g_strstrip(buf);