From 1430fa634c93a746fc61f514f1f986bb312c54c0 Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 28 Jul 1999 02:07:39 +0000 Subject: This patch fixes a remaining relic of the backgammon(6) "execute saved game to continue playing" problem described in bin/6077. Patch contributed by Joseph Myers in PR 8092. --- backgammon/common_source/save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backgammon') diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index 107dd8d2..2f4a8101 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.8 1999/02/10 12:29:48 hubertf Exp $ */ +/* $NetBSD: save.c,v 1.9 1999/07/28 02:07:39 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.8 1999/02/10 12:29:48 hubertf Exp $"); +__RCSID("$NetBSD: save.c,v 1.9 1999/07/28 02:07:39 hubertf Exp $"); #endif #endif /* not lint */ @@ -111,7 +111,7 @@ save(n) close(fdesc); if (yorn(0)) { unlink(fname); - fdesc = creat(fname, 0700); + fdesc = creat(fname, 0600); break; } else { cflag = 1; -- cgit v1.2.3-56-ge451