diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-31 09:37:04 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-31 09:37:04 +0200 |
commit | 04d28a7555405a15b3e93de769510b18c4a58c62 (patch) | |
tree | dd86a7e89fe2788117575dd3058ec1191222acbd /src/pipe.c | |
parent | 0c84e94563533d21a2129cc5d11f8912fb395a6b (diff) |
Send informational messages to stderr rather than the output when used
in non-interactive mode
Diffstat (limited to 'src/pipe.c')
-rw-r--r-- | src/pipe.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -83,7 +83,7 @@ void getnum(int r0, int c0, int rn, int cn, FILE * fd) { sprintf(line, "%.15g", p->v); } } - sc_info("%s", line); + sc_value("%s", line); if (brokenpipe) { linelim = -1; return; @@ -106,7 +106,7 @@ void getnum(int r0, int c0, int rn, int cn, FILE * fd) { void getformat(int col, FILE * fd) { sprintf(line, "%d %d %d\n", fwidth[col], precision[col], realfmt[col]); //write(fd, line, strlen(line)); - sc_info("%s", line); + sc_value("%s", line); linelim = -1; } @@ -130,7 +130,7 @@ void getfmt(int r0, int c0, int rn, int cn, FILE * fd) { for (c = c0, pp = ATBL(tbl, r, c); c <= cn; pp++, c++) { *line = '\0'; if (*pp && (*pp)->format) sprintf(line, "%s", (*pp)->format); - sc_info("%s", line); + sc_value("%s", line); if (brokenpipe) { linelim = -1; return; @@ -161,7 +161,7 @@ void getstring(int r0, int c0, int rn, int cn, FILE * fd) { *line = '\0'; if (*pp && (*pp)->label) sprintf(line, "%s", (*pp)->label); - sc_info("%s", line); + sc_value("%s", line); if (brokenpipe) { linelim = -1; return; @@ -199,7 +199,7 @@ void getexp(int r0, int c0, int rn, int cn, FILE * fd) { if (*line == '?') *line = '\0'; } - sc_info("%s", line); + sc_value("%s", line); if (brokenpipe) { linelim = -1; return; |