* Make sure we can revert the effects of Define/UnDefine when restarting. * This function must be called once per loading of the config, before * ap_server_config_defines is changed. This may be during reading of the * config, which is even before the pre_config hook is run (due to * EXEC_ON_READ for Define/UnDefine). */
| 1482 | * EXEC_ON_READ for Define/UnDefine). |
| 1483 | */ |
| 1484 | static void init_config_defines(apr_pool_t *pconf) |
| 1485 | { |
| 1486 | saved_server_config_defines = ap_server_config_defines; |
| 1487 | /* Use apr_array_copy instead of apr_array_copy_hdr because it does not |
| 1488 | * protect from the way unset_define removes entries. |
| 1489 | */ |
| 1490 | ap_server_config_defines = apr_array_copy(pconf, ap_server_config_defines); |
| 1491 | } |
| 1492 | |
| 1493 | static const char *set_define(cmd_parms *cmd, void *dummy, |
| 1494 | const char *name, const char *value) |
no outgoing calls
no test coverage detected