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
6cc2a3b
..
27947b4
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-13,11
+13,13
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "ascii.h"
#include "mx.h"
#include "mbox.h"
#include "mh.h"
#include "rfc2047.h"
#include "sort.h"
#include "mx.h"
#include "mbox.h"
#include "mh.h"
#include "rfc2047.h"
#include "sort.h"
+#include "thread.h"
#include "copy.h"
#include "keymap.h"
#include "url.h"
#include "copy.h"
#include "keymap.h"
#include "url.h"
@@
-199,6
+201,7
@@
int mx_lock_file (const char *path, int fd, int excl, int dot, int timeout)
count = 0;
attempt = 0;
count = 0;
attempt = 0;
+ prev_sb.st_size = 0;
while (fcntl (fd, F_SETLK, &lck) == -1) {
struct stat sb;
while (fcntl (fd, F_SETLK, &lck) == -1) {
struct stat sb;