diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-02-23 22:47:58 -0800 |
|---|---|---|
| committer | Adam Joseph <adam@westernsemico.com> | 2023-02-23 22:54:49 -0800 |
| commit | 86a0e46ed4687f9a8ab8e1c38c7f0b926bf77d11 (patch) | |
| tree | 0fb7874a6a938c53db9e4b789d16a0c8397de769 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | ac79516061d6fdcf8c32aafa8a3e48ac377ae33e (diff) | |
gcc: fix implication order in assertion
In 6812dd98c47b54dc30d920655eb89fda844818c4 I mistakenly had the
implication order reversed. This commit corrects that mistake.
The original assertion (which is correct) was the following, which
asserts that if you enable the GDB plugin, you must enable plugins
generally (there is shared infrastructure):
```
assert enableGdbPlugin -> enablePlugin;
```
When the option name was changed to `disableGdbPlugin`, I
incorrectly wrote:
```
assert disableGdbPlugin -> enablePlugin;
```
And then again incorrectly wrote:
```
assert disableGdbPlugin -> !enablePlugin;
```
This commit uses the correct equivalent for the first statement,
which is the contrapositive:
```
assert !enablePlugin -> disableGdbPlugin;
```
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
