Ted Unangst wrote:
> Jake Champlin wrote:
> > - readscores(1);
> > penalty = loot = 0;
> > initscr();
> > + if (unveil(scorepath, "rwc") == -1)
> > + err(1, "unveil");
> > +#ifdef LOGGING
> > + if (unveil(logpath, "rwc") == -1)
> > + err(1, "unveil");
> > +
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");
> > +#ifdef LOGGING
> > + if (unveil(logpath, "rwc") == -1)
> >
Jake Champlin wrote:
> - readscores(1);
> penalty = loot = 0;
> initscr();
> + if (unveil(scorepath, "rwc") == -1)
> + err(1, "unveil");
> +#ifdef LOGGING
> + if (unveil(logpath, "rwc") == -1)
> + err(1, "unveil");
> + logfile = fopen(logpath,
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
>
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
--- snake.c 20 Jan 2019 04:14:19 - 1.33
+++ snake.c