version 1.12, 2003/01/17 00:53:09 |
version 1.13, 2003/01/17 01:01:04 |
|
|
/* $OpenXM: OpenXM/rc/repl.c,v 1.11 2003/01/17 00:41:05 maekawa Exp $ */ |
/* $OpenXM: OpenXM/rc/repl.c,v 1.12 2003/01/17 00:53:09 maekawa Exp $ */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
Line 61 main(int argc,char *argv[]) { |
|
Line 61 main(int argc,char *argv[]) { |
|
fprintf(fp,"/Times-Roman findfont 10 scalefont setfont\n"); |
fprintf(fp,"/Times-Roman findfont 10 scalefont setfont\n"); |
fprintf(fp," 390 290 moveto (F) show \n"); |
fprintf(fp," 390 290 moveto (F) show \n"); |
fprintf(fp,"showpage \n"); |
fprintf(fp,"showpage \n"); |
fclose(fp); |
while (fclose(fp) != 0) { |
|
if (errno == EINTR) |
|
continue; |
|
break; |
|
} |
|
|
if (!system("pstoimg -type png /tmp/repl_test.ps -out /tmp/repl_test.img >/dev/null")) { |
if (!system("pstoimg -type png /tmp/repl_test.ps -out /tmp/repl_test.img >/dev/null")) { |
if (type == 'b') { |
if (type == 'b') { |