Commit e3bce0d
gh-46927: Detect rl_change_environment with a configure probe
Guard the rl_change_environment assignment with HAVE_RL_CHANGE_ENVIRONMENT,
set by a configure link test, instead of the __APPLE__ macro. This compiles
it out on any libedit build lacking the symbol, not just on macOS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8bbc1cf commit e3bce0d
4 files changed
Lines changed: 69 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1323 | 1323 | | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6472 | 6472 | | |
6473 | 6473 | | |
6474 | 6474 | | |
| 6475 | + | |
| 6476 | + | |
| 6477 | + | |
| 6478 | + | |
| 6479 | + | |
| 6480 | + | |
| 6481 | + | |
| 6482 | + | |
| 6483 | + | |
| 6484 | + | |
| 6485 | + | |
6475 | 6486 | | |
6476 | 6487 | | |
6477 | 6488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
1077 | 1080 | | |
1078 | 1081 | | |
1079 | 1082 | | |
| |||
0 commit comments