src/hg/trfBig/trfBig.c 1.17
1.17 2009/09/23 18:42:26 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/trfBig/trfBig.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/trfBig/trfBig.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/hg/trfBig/trfBig.c 12 Feb 2007 23:08:05 -0000 1.16
+++ src/hg/trfBig/trfBig.c 23 Sep 2009 18:42:26 -0000 1.17
@@ -103,9 +103,9 @@
char command[1024];
sprintf(command, "cd %s; %s %s 2 7 7 80 10 50 %d -m %s",
tempDir, trfExe, faFile, maxPeriod, doBed ? "-d" : "");
uglyf("faFile %s, command %s\n", faFile, command);
-system(command);
+mustSystem(command);
}
void outputWithBreaks(FILE *out, char *s, int size, int lineSize)
/* Print s of given size to file, adding line feeds every now and then. */