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,18 @@
Index: pipe.c
--- pipe.c.orig
+++ pipe.c
@@ -36,12 +36,13 @@ getnum(int r0, int c0, int rn, int cn, int fd)
for (c = c0, pp = ATBL(tbl, r, c); c <= cn; pp++, c++) {
*line = '\0';
p = *pp;
- if (p)
+ if (p) {
if (p->cellerror)
sprintf(line, "%s", (*pp)->cellerror == CELLERROR ?
"ERROR" : "INVALID");
else if (p->flags & is_valid)
sprintf(line, "%.15g", p->v);
+ }
if (c < cn)
strcat(line, "\t");
else