Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1ae03496
...
1ae03496ac2dd29e0e4203f41006864d04c862ee
authored
2004-08-07 09:05:05 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_locker_lock_dotlock): Make sure the lock file is writable for the owner.
1 parent
59c6ecdc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mailbox/locker.c
mailbox/locker.c
View file @
1ae0349
...
...
@@ -41,7 +41,7 @@
#include <mailutils/locker.h>
#include <mailutils/mutil.h>
#define LOCKFILE_ATTR 0
4
44
#define LOCKFILE_ATTR 0
6
44
/* First draft by Brian Edmond. */
/* For subsequent modifications, see the GNU mailutils ChangeLog. */
...
...
@@ -714,7 +714,7 @@ _locker_lock_dotlock (locker_t lock)
return
errno
;
}
if
((
fd
=
open
(
lock
->
data
.
dot
.
dotlock
,
O_RD
ONLY
))
==
-
1
)
if
((
fd
=
open
(
lock
->
data
.
dot
.
dotlock
,
O_RD
WR
))
==
-
1
)
{
unlink
(
lock
->
data
.
dot
.
nfslock
);
return
errno
;
...
...
Please
register
or
sign in
to post a comment