summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1994-11-21 02:22:04 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1994-11-21 02:22:04 +0000
commitf94ccafd692006c1a9060257e249ba3e4685ea8d (patch)
tree55590a60cc0982eecb93c0aa5cd928694c6da2a8 /games
parentUse ${PREFIX} (diff)
Use mode 644 for score file
Notes
Notes: svn path=/head/; revision=438
Diffstat (limited to 'games')
-rw-r--r--games/jetpack/files/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/jetpack/files/patch-af b/games/jetpack/files/patch-af
new file mode 100644
index 000000000000..3f0e4f3351c6
--- /dev/null
+++ b/games/jetpack/files/patch-af
@@ -0,0 +1,19 @@
+*** scores.c~ Mon Nov 8 15:15:55 1993
+--- scores.c Sat Nov 19 22:32:31 1994
+***************
+*** 35,41 ****
+ numhighs = 0;
+ scorefd = open(SCOREPATH, O_RDWR);
+ if(scorefd == -1) {
+! scorefd = open(SCOREPATH, O_RDWR | O_CREAT, 0444);
+ if(scorefd == -1) {
+ scorefd = open("jetpack.scores", O_RDWR);
+ if(scorefd == -1) {
+--- 35,41 ----
+ numhighs = 0;
+ scorefd = open(SCOREPATH, O_RDWR);
+ if(scorefd == -1) {
+! scorefd = open(SCOREPATH, O_RDWR | O_CREAT, 0644);
+ if(scorefd == -1) {
+ scorefd = open("jetpack.scores", O_RDWR);
+ if(scorefd == -1) {