src/lib/osunix.c 1.46

1.46 2010/03/13 23:01:50 hiram
fix semiUniqName when host name includes : as in: localhost:8080 (from 41,000 ft)
Index: src/lib/osunix.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/osunix.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -b -B -U 4 -r1.45 -r1.46
--- src/lib/osunix.c	24 Feb 2010 00:51:00 -0000	1.45
+++ src/lib/osunix.c	13 Mar 2010 23:01:50 -0000	1.46
@@ -325,8 +325,9 @@
 char *s = strchr(host, '.');
 if (s != NULL)
      *s = 0;
 subChar(host, '-', '_');
+subChar(host, ':', '_');
 static char name[PATH_LEN];
 safef(name, sizeof(name), "%s_%s_%x_%x",
 	base, host, pid, num);
 return name;