From: Ian Jackson Date: Wed, 23 Mar 2016 18:03:31 +0000 (+0000) Subject: cgi-fcgi-interp: Rename "command" to "script" throughout X-Git-Tag: archive/debian/5.0.0~68 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=925487e1be73d42c3ae6cf6c460cc3ee97612276;p=chiark-utils.git cgi-fcgi-interp: Rename "command" to "script" throughout --- diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index d2681cf..f2ba0bd 100644 --- a/cprogs/cgi-fcgi-interp.c +++ b/cprogs/cgi-fcgi-interp.c @@ -139,7 +139,7 @@ static const struct cmdinfo cmdinfos[]= { }; static uid_t us; -static const char *run_base, *command, *socket_path; +static const char *run_base, *script, *socket_path; static bool find_run_base_var_run(void) { struct stat stab; @@ -207,7 +207,7 @@ static void find_socket_path(void) { if (!ident) { if (maxidentlen < MINHEXHASH) errx(127,"base directory `%s'" - " leaves only %d characters for command name hash" + " leaves only %d characters for id hash" " which is too little (<%d)", run_base, maxidentlen, MINHEXHASH); @@ -219,7 +219,7 @@ static void find_socket_path(void) { sha256_init(&sc); sha256_update(&sc,strlen(interp)+1,interp); - sha256_update(&sc,strlen(command)+1,command); + sha256_update(&sc,strlen(script)+1,script); sha256_digest(&sc,sizeof(bbuf),bbuf); for (i=0; i