pkgsrc/games/jetpack/patches/patch-af
garbled f0c2b25c65 New pkg for jetpack-1.0. Patches taken from FreeBSD ports collection.
(last time I do that.. ugh)
an arcade action game for X Windows.
1998-08-23 11:24:52 +00:00

20 lines
639 B
Text

$NetBSD: patch-af,v 1.1 1998/08/23 11:24:54 garbled Exp $
*** 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) {