diff options
author | kem <kem> | 2000-02-22 15:37:57 +0000 |
---|---|---|
committer | kem <kem> | 2000-02-22 15:37:57 +0000 |
commit | 3033c9bfc1f7d29d3c87214d33cb9c5a5bbd22f9 (patch) | |
tree | a0726451c24e98fda169a2528118b7b2315d3ca7 /xc/lib/Xau/AuLock.c | |
parent | aaf0250c05ea51b0b850b2b4675d611faccb0fe7 (diff) |
Import of XFree86 3.9.18X_3_9_18
Diffstat (limited to 'xc/lib/Xau/AuLock.c')
-rw-r--r-- | xc/lib/Xau/AuLock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/lib/Xau/AuLock.c b/xc/lib/Xau/AuLock.c index 1b3daf125..8586e87f4 100644 --- a/xc/lib/Xau/AuLock.c +++ b/xc/lib/Xau/AuLock.c @@ -21,7 +21,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/Xau/AuLock.c,v 3.1 1998/10/03 08:41:58 dawes Exp $ */ +/* $XFree86: xc/lib/Xau/AuLock.c,v 3.2 2000/02/14 17:43:40 robin Exp $ */ #include <X11/Xauth.h> #include <X11/Xos.h> @@ -89,7 +89,7 @@ long dead; while (retries > 0) { if (creat_fd == -1) { - creat_fd = creat (creat_name, 0666); + creat_fd = open (creat_name, O_WRONLY | O_CREAT | O_EXCL, 0600); if (creat_fd == -1) { if (errno != EACCES) return LOCK_ERROR; |