5538755f556a081861b4b715ca6cc70fbc49ec7c
jcasper
  Fri Feb 24 16:36:25 2017 -0800
hgSession and PublicSessions should now work when gbMembers is remote, refs #18800

diff --git src/hg/lib/trashDir.c src/hg/lib/trashDir.c
index 38e41af..027742b 100644
--- src/hg/lib/trashDir.c
+++ src/hg/lib/trashDir.c
@@ -1,31 +1,31 @@
 /* trashDir.c - temporary file creation and directory creation in /trash */
 
 /* Copyright (C) 2014 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 
 #include "common.h"
 #include "hash.h"
 #include "portable.h"
 #include "trashDir.h"
 
 static void trashDirFileExt(struct tempName *tn, char *dirName, char *base, char *suffix, boolean addDate)
 /*	obtain a trash file name trash/dirName/base*.suffix */
 {
 static struct hash *dirHash = NULL;
-char prefix[64];
+char prefix[128];
 char buffer[4096];
 
 if (! dirHash)
 	dirHash = newHash(0);
 
 if (addDate)
     {
     safef(buffer, sizeof buffer, "%s/%03d", dirName, dayOfYear());
     dirName = buffer;
     }
 
 /* already created this directory ? */
 if (! hashLookup(dirHash,dirName))
     {
     hashAddInt(dirHash, dirName, 1);	/* remember, been here, done that */