[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56088] Side effects of setting variables are not undone after exit
[bug #56088] Side effects of setting variables are not undone after exiting a context in which they were set
Sat, 6 Apr 2019 14:28:07 -0400 (EDT)
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0
Summary: Side effects of setting variables are not undone
after exiting a context in which they were set
Project: GNU GRUB
Submitted by: felix_s
Submitted on: Sat 06 Apr 2019 06:28:05 PM UTC
Priority: 5 - Normal
Item Group: Software Error
Assigned to: None
Discussion Lock: Any
Reproducibility: Every Time
Planned Release: None
Steps to reproduce:
0. Prepare a configuration file containing the line: set
1. Launch GRUB command line.
1. Run: set color_normal=white/black
2. Load the file prepared in step 0 using configfile.
3. Run: echo $color_normal
4. Observe the red text 'white/black' was output on white background; the
variable value is inconsistent with the actually applied setting, which was
changed in an inner context.
This applies to any variable with side effects; color_normal is just the
easiest to demonstrate.
Expected result: Variable contents are consistent with applied settings.
Preferably by restoring the old setting upon exiting the context, which makes
all variables behave identically with respect to contexts.
Reply to this item at:
Message sent via Savannah
|[Prev in Thread]
||[Next in Thread]|
- [bug #56088] Side effects of setting variables are not undone after exiting a context in which they were set,