SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
--- puzzle.c.orig Wed Jan 13 19:33:36 2016
+++ puzzle.c Wed Jan 13 19:33:42 2016
@@ -110,7 +110,7 @@ int nonogram_fscanpuzzle_ef(nonogram_puzzle *p, FILE *
return 0;
}
-static const char *getline(const char **s, const char *e,
+static const char *getline_(const char **s, const char *e,
const char **st, const char **en)
{
if (*s >= e || !**s)
@@ -152,7 +152,7 @@ int nonogram_spscanpuzzle_ef(nonogram_puzzle *p,
while (((ctxt.noheight || ctxt.rowno < p->height) ||
(ctxt.nowidth || ctxt.colno < p->width)) &&
- getline(s, e, &line, &end) &&
+ getline_(s, e, &line, &end) &&
(rc = scanline(p, &ctxt, line, end, ef, eh)))
ctxt.lineno++;