projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always build the dotlock program standalone, many other appplications use
[apps/madmutt.git]
/
mx.c
diff --git
a/mx.c
b/mx.c
index
6f6f779
..
b596bca
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-83,8
+83,6
@@
static list2_t* MailboxFormats = NULL;
* retry - should retry if unable to lock?
*/
* retry - should retry if unable to lock?
*/
-#ifdef DL_STANDALONE
-
static int invoke_dotlock (const char *path, int dummy, int flags, int retry)
{
char cmd[LONG_STRING + _POSIX_PATH_MAX];
static int invoke_dotlock (const char *path, int dummy, int flags, int retry)
{
char cmd[LONG_STRING + _POSIX_PATH_MAX];
@@
-109,12
+107,6
@@
static int invoke_dotlock (const char *path, int dummy, int flags, int retry)
return mutt_system (cmd);
}
return mutt_system (cmd);
}
-#else
-
-#define invoke_dotlock dotlock_invoke
-
-#endif
-
static int dotlock_file (const char *path, int fd, int retry)
{
int r;
static int dotlock_file (const char *path, int fd, int retry)
{
int r;