summaryrefslogtreecommitdiffstats
path: root/games/jetpack/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'games/jetpack/files/patch-af')
-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 0000000..3f0e4f3
--- /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) {
OpenPOWER on IntegriCloud