summaryrefslogtreecommitdiff
path: root/graphics/asymptote/fileio.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-08 03:05:28 +0000
committerNorbert Preining <norbert@preining.info>2022-08-08 03:05:28 +0000
commitf1e79c3669f68804c471699badc56a4a33a23246 (patch)
tree5e6feae427931b2043e96c6c0867e02ab647c9da /graphics/asymptote/fileio.h
parente56ef8f972de679101fb97ad8e180614d3fd4267 (diff)
CTAN sync 202208080305
Diffstat (limited to 'graphics/asymptote/fileio.h')
-rw-r--r--graphics/asymptote/fileio.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/asymptote/fileio.h b/graphics/asymptote/fileio.h
index d601f176d8..6fcd379ec3 100644
--- a/graphics/asymptote/fileio.h
+++ b/graphics/asymptote/fileio.h
@@ -56,9 +56,8 @@ inline void openpipeout()
int fd=intcast(settings::getSetting<Int>("outpipe"));
if(!pipeout && fd >= 0) pipeout=fdopen(fd,"w");
if(!pipeout) {
- ostringstream buf;
- buf << "Cannot open outpipe " << fd;
- reportError(buf);
+ cerr << "Cannot open outpipe " << fd << endl;
+ exit(-1);
}
}