projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rocco Rutte:
[apps/madmutt.git]
/
mx.c
diff --git
a/mx.c
b/mx.c
index
fc2a908
..
27947b4
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-201,6
+201,7
@@
int mx_lock_file (const char *path, int fd, int excl, int dot, int timeout)
count = 0;
attempt = 0;
+ prev_sb.st_size = 0;
while (fcntl (fd, F_SETLK, &lck) == -1) {
struct stat sb;