From 2c1f90df0d8e0b8270a15b14f438feb82db61fd6 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 13 Sep 1998 15:41:34 +0000 Subject: remove x bit from save files (PR#6077) --- backgammon/common_source/save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backgammon/common_source') 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) { -- cgit v1.2.3-56-ge451