SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
math/sc/patches/patch-pipe_c
Normal file
18
math/sc/patches/patch-pipe_c
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue