mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 12:49:27 +08:00
50d37527a9
This reverts commit3e556b984c
. Revert "Further fix the issue and add the assert that'd have prevented it." This reverts commit056502001e
. Revert "Fix actual issue with allow_use_posix_spawn." This reverts commit85b9f3c71f
. Revert "Stop using posix_spawn when it is not allowed" This reverts commit9c896e1990
. Revert "don't even set up a fish_use_posix_spawn handler if unsupported" This reverts commit8b14ac4a9c
.
19 lines
474 B
C++
19 lines
474 B
C++
// Prototypes for functions that react to environment variable changes
|
|
#ifndef FISH_ENV_DISPATCH_H
|
|
#define FISH_ENV_DISPATCH_H
|
|
|
|
#include "config.h" // IWYU pragma: keep
|
|
|
|
#include "common.h"
|
|
|
|
class environment_t;
|
|
class env_stack_t;
|
|
|
|
/// Initialize variable dispatch.
|
|
void env_dispatch_init(const environment_t &vars);
|
|
|
|
/// React to changes in variables like LANG which require running some code.
|
|
void env_dispatch_var_change(const wcstring &key, env_stack_t &vars);
|
|
|
|
#endif
|