b34827e5bc4da8a6f1728693035fdec5cecc0bea
angie
  Mon Nov 28 12:47:47 2016 -0800
Kate noticed _trashDir was missing a function comment - fixed.  refs #18380

diff --git src/lib/servcl.c src/lib/servcl.c
index e877bf6..1321072 100644
--- src/lib/servcl.c
+++ src/lib/servcl.c
@@ -1,53 +1,55 @@
 /* "Web Server" for command line execution. 
  *
  * This file is copyright 2002 Jim Kent, but license is hereby
  * granted for all use - public, private or commercial. */
 
 #include "common.h"
 #include "portable.h"
 #include "portimpl.h"
 #include "obscure.h"
 
 
 static char *_trashDir()
+/* Return the path for temporary files: default is "." but env var JKTRASH can override. */
 {
 static char *__trashDir = NULL;
 if (__trashDir == NULL)
     {
     char *jktrashDir = getenv("JKTRASH");
     __trashDir = jktrashDir ? jktrashDir : ".";
     }
 return __trashDir;
 }
 
 static void _makeTempName(struct tempName *tn, char *base, char *suffix)
 /* Figure out a temp name, and how CGI and HTML will access it. */
 {
 char *tname = rTempName(_trashDir(), base, suffix);
 strcpy(tn->forCgi, tname);
 strcpy(tn->forHtml, tn->forCgi);
 }
 
 static char *_cgiDir()
+/* Return the path for CGI executables: default is "" but env var JKWEB can override. */
 {
 char *jkwebDir;
 if ((jkwebDir = getenv("JKWEB")) == NULL)
     return "";
 else
     return jkwebDir;
 }
 
 static double _speed()
 {
 return 1.0;
 }
     
     
 struct webServerSpecific wssCommandLine =
     {
     "commandLine",
     _makeTempName,
     _cgiDir,
     _speed,
     _trashDir,
     };