156c6fa583c7a87e731d927b42ca86d772e06e77 jcasper Wed Jun 15 11:32:10 2016 -0700 Changes to place session thumbnails in trash/hgPS, refs #15312 diff --git src/inc/portable.h src/inc/portable.h index 2952a40..7b51440 100644 --- src/inc/portable.h +++ src/inc/portable.h @@ -77,32 +77,32 @@ void sleep1000(int milli); /* Sleep for given number of milliseconds. */ long clock1(); /* A 1 hz clock. */ char *rTempName(char *dir, char *base, char *suffix); /* Make a temp name that's almost certainly unique. */ /* This structure helps us generate temp names and use * them. Since different servers locate where the cgi * runs from differently, and where the generated html * file runs from - this is necessary for portable code. */ struct tempName { - char forCgi[128]; - char forHtml[128]; + char forCgi[4096]; + char forHtml[4096]; }; void makeTempName(struct tempName *tn, char *base, char *suffix); /* Make a good name for a temp file. */ void mustRename(char *oldName, char *newName); /* Rename file or die trying. */ void mustRemove(char *path); /* Remove file or die trying */ char *semiUniqName(char *base); /* Figure out a name likely to be unique. * Name will have no periods. Returns a static * buffer, so best to clone result unless using