src/hg/hgGene/rnaStructure.c 1.11
1.11 2009/09/23 18:42:16 angie
Fixed compiler warnings from gcc 4.3.3, mostly about system calls whose return values weren't checked and non-literal format strings with no args.
Index: src/hg/hgGene/rnaStructure.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/rnaStructure.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/hgGene/rnaStructure.c 13 Feb 2009 02:38:28 -0000 1.10
+++ src/hg/hgGene/rnaStructure.c 23 Sep 2009 18:42:16 -0000 1.11
@@ -199,18 +199,18 @@
if (!fileExists(pdfName))
{
char command[512];
safef(command, sizeof(command), "ps2pdf %s %s" , psFile, pdfName);
- system(command);
+ mustSystem(command);
}
hPrintf("Click <A HREF=\"%s\">here for PDF version</A><BR>", pdfName);
if (!fileExists(pngName))
{
char command[512];
safef(command, sizeof(command),
"gs -sDEVICE=png16m -sOutputFile=%s -dBATCH -dNOPAUSE -q %s"
, pngName, psFile);
- system(command);
+ mustSystem(command);
}
hPrintf("<IMG SRC=\"%s\">", pngName);
}
}