home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
DVI_MGR
/
dvimgr_s.lzh
/
dvimgr
/
alldone.h
< prev
next >
Wrap
Text File
|
1993-08-06
|
709b
|
24 lines
/* -*-C-*- alldone.h */
/*-->alldone*/
/**********************************************************************/
/****************************** alldone ******************************/
/**********************************************************************/
void
alldone()
{
register int t;
if ((g_errenc != 0) && g_dolog && (g_logfp != (FILE *)NULL))
{ /* errors occurred - copy log file to stderr */
(void)fflush(g_logfp); /* make sure file is up-to-date */
(void)REWIND(g_logfp); /* rewind it */
while ((t=(int)getc(g_logfp)) != EOF) /* copy to stderr */
(void)putc((char)t,stderr);
(void)fclose(g_logfp); /* close it */
g_logfp = (FILE *)NULL;
}
abortrun(g_errenc);
}