diff options
author | hubertf <hubertf@NetBSD.org> | 1998-09-13 15:41:34 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1998-09-13 15:41:34 +0000 |
commit | 2c1f90df0d8e0b8270a15b14f438feb82db61fd6 (patch) | |
tree | 820f85b45c9a79898848ef93966870085963d43e /backgammon/common_source | |
parent | 1af09e57d531adfeb5243e5f3c04e5fba9f49b6e (diff) | |
download | bsdgames-darwin-2c1f90df0d8e0b8270a15b14f438feb82db61fd6.tar.gz bsdgames-darwin-2c1f90df0d8e0b8270a15b14f438feb82db61fd6.tar.zst bsdgames-darwin-2c1f90df0d8e0b8270a15b14f438feb82db61fd6.zip |
remove x bit from save files (PR#6077)
Diffstat (limited to 'backgammon/common_source')
-rw-r--r-- | backgammon/common_source/save.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index 8faec03d..be5def93 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.6 1998/08/29 22:53:04 hubertf Exp $ */ +/* $NetBSD: save.c,v 1.7 1998/09/13 15:41:34 hubertf Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.6 1998/08/29 22:53:04 hubertf Exp $"); +__RCSID("$NetBSD: save.c,v 1.7 1998/09/13 15:41:34 hubertf Exp $"); #endif #endif /* not lint */ @@ -95,7 +95,7 @@ save(n) } *fs = '\0'; if ((fdesc = open(fname, O_RDWR)) == -1 && errno == ENOENT) { - if ((fdesc = creat(fname, 0700)) != -1) + if ((fdesc = creat(fname, 0600)) != -1) break; } if (fdesc != -1) { |