a7088ea8bd1828450e85dca8a04b937e7bd38ca1
galt
  Mon Oct 8 12:38:24 2018 -0700
Sqashed BLAT ALl Genomes branch

diff --git src/inc/common.h src/inc/common.h
index 9398b2b..e44df39 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1397,30 +1397,33 @@
 ;
 
 void safecpy(char *buf, size_t bufSize, const char *src);
 /* copy a string to a buffer, with bounds checking.*/
 
 void safencpy(char *buf, size_t bufSize, const char *src, size_t n);
 /* copy n characters from a string to a buffer, with bounds checking.
  * Unlike strncpy, always null terminates the result */
 
 void safecat(char *buf, size_t bufSize, const char *src);
 /* Append  a string to a buffer, with bounds checking.*/
 
 void safencat(char *buf, size_t bufSize, const char *src, size_t n);
 /* append n characters from a string to a buffer, with bounds checking. */
 
+void safecatRepeatChar(char *buf, size_t bufSize, const char c, int n);
+/* Append a character to a buffer, n times with bounds checking.*/
+
 char *naForNull(char *s);
 /* Return 'n/a' if s is NULL, otherwise s. */
 
 char *naForEmpty(char *s);
 /* Return n/a if s is "" or NULL, otherwise s. */
 
 char *emptyForNull(char *s);
 /* Return "" if s is NULL, otherwise s. */
 
 char *nullIfAllSpace(char *s);
 /* Return NULL if s is all spaces, otherwise s. */
 
 char *trueFalseString(boolean b);
 /* Return "true" or "false" */