page: remove temporary file at program exit; fixes reading from stdin

http://codereview.appspot.com/105097
This commit is contained in:
J.R. Mauro 2009-08-20 14:38:31 -04:00
parent 8ff457f56d
commit 2fb0c4447e
3 changed files with 16 additions and 5 deletions

View file

@ -99,9 +99,12 @@ Image* convert(Graphic *g);
Image* cachedpage(Document*, int, int);
void cacheflush(void);
extern char tempfile[40];
extern int stdinfd;
extern int truecolor;
/* BUG BUG BUG BUG BUG: cannot use new draw operations in drawterm,
* or in vncs, and there is a bug in the kernel for copying images
* from cpu memory -> video memory (memmove is not being used).