On Fri, Jun 19, 2009 at 7:00 PM, walter harms <wha...@bfs.de>
> according to the man page (i hope that m$ did not break specs) that means > the "mode" argument > is wrong. perhaps you can add a message like: > /* adjust to your needs !*/ > fprintf("fdopen mode(%s):%s",mode,strerror(errno)); > > > I just looked again at the line which is failing: > src\libs\libgroff\tmpfile.cpp:179: > > FILE *fp = fdopen(fd, FOPEN_RWB); // many callers of xtmpfile use binary > I/O > > and this already says what the mode is, i.e. "w+", which should be perfectly legal. > >