cpp: Use /tmp folder for output files
commit6995883a9b6f5260977d448a6ba044013d68b935
authorVadim Kochan <vadim4j@gmail.com>
Sun, 22 Nov 2015 19:09:39 +0000 (22 21:09 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 24 Nov 2015 09:24:29 +0000 (24 10:24 +0100)
tree931c7d7826303902a1ce6958c6f969b07bb20703
parent5e7e8b46fc84d8010e11d3c43d8c2b742028375f
cpp: Use /tmp folder for output files

There might be a case when input file is located
in read-only directory and cpp fails when it tries to
create output file there, so use /tmp folder for that
as usually it should be writeable for any user.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
cpp.c