summaryrefslogtreecommitdiff
path: root/games/jetpack/files/patch-af
blob: 3f0e4f3351c60e5d1dfae5b4dfe4f792cab8be77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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) {