svn commit: r1929718 - apr/apr/trunk/threadproc/win32
[email protected] Thu, 13 Nov 2025 18:28:45 -0000
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <176305852593.3610150.14303645211249345756@svn02-us-east.apache.org> |
Author: ivan
Date: Thu Nov 13 18:28:45 2025
New Revision: 1929718
Log:
Add const qualifier.
Modified:
apr/apr/trunk/threadproc/win32/proc.c
Modified: apr/apr/trunk/threadproc/win32/proc.c
==============================================================================
--- apr/apr/trunk/threadproc/win32/proc.c Thu Nov 13 18:27:57 2025 (r1929717)
+++ apr/apr/trunk/threadproc/win32/proc.c Thu Nov 13 18:28:45 2025 (r1929718)
@@ -551,7 +551,7 @@ APR_DECLARE(apr_status_t) apr_proc_creat
if (attr->cmdtype == APR_SHELLCMD || attr->cmdtype == APR_SHELLCMD_ENV) {
const char *argv0;
- char *shellcmd;
+ const char *shellcmd;
if (has_space(progname)) {
argv0 = apr_pstrcat(pool, "\"", progname, "\"", NULL);
@@ -603,7 +603,7 @@ APR_DECLARE(apr_status_t) apr_proc_creat
|| strcasecmp(progname + i - 4, ".cmd") == 0))
{
const char *argv0;
- char *shellcmd;
+ const char *shellcmd;
if (has_space(progname)) {
argv0 = apr_pstrcat(pool, "\"", progname, "\"", NULL);