src/hg/hgSession/hgSession.c 1.52

1.52 2009/09/23 18:42:17 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/hgSession/hgSession.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgSession/hgSession.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -b -B -U 4 -r1.51 -r1.52
--- src/hg/hgSession/hgSession.c	15 Jun 2009 18:15:53 -0000	1.51
+++ src/hg/hgSession/hgSession.c	23 Sep 2009 18:42:17 -0000	1.52
@@ -713,9 +713,9 @@
     char buf[1024];
     char *words[2];
     int wordCount;
     boolean exists = FALSE;
-    safef(buf, sizeof(buf), ss);
+    safecpy(buf, sizeof(buf), ss);
     wordCount = chopLine(buf, words);
     if (wordCount < 2)
 	exists = FALSE;
     else