Re: snake: unveil + pledge earlier

2019-05-20 Thread Jake Champlin
On Mon, May 20, 2019 at 10:37:47AM -0400, Ted Unangst wrote: > Jake Champlin wrote: > > - readscores(1); > > penalty = loot = 0; > > initscr(); > > + if (unveil(scorepath, "rwc") == -1) > > + err(1, "unveil"); > &g

Re: snake: unveil + pledge earlier

2019-05-20 Thread Jake Champlin
On Sun, May 19, 2019 at 03:50:39PM -0400, jake wrote: > Unveils snake and pledges earlier during execution. > > Index: snake.c > === > RCS file: /cvs/src/games/snake/snake.c,v > retrieving revision 1.33 > diff -u -p -r1.33 snake.c > --

tetris: remove unused vars

2019-05-19 Thread Jake Champlin
Revision 1.23 added unveil to tetris, yet left two unused variables in scores.c Removes unused vars in scores.c, that were added to tetris.c in v1.23 Index: scores.c === RCS file: /cvs/src/games/tetris/scores.c,v retrieving revision 1