View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0037483 | FPC | FCL | public | 2020-08-04 15:51 | 2020-11-13 21:46 |
Reporter | C Western | Assigned To | Michael Van Canneyt | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Windows | ||||
Product Version | 3.3.1 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0037483: Patch for TRegIniFile.CloseSection | ||||
Description | Without the attached patch, the sequence: IniSettings :=TRegistryIniFile.Create(KeyName) try IniSettings.ReadSectionValues(AutoSaveKey, Files); finally IniSettings.Free; end; crashes, as a key is closed twice. | ||||
Additional Information | Related to 0036663: Broken TRegistryIniFile | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 47410 | ||||
FPCOldBugId | |||||
FPCTarget | 3.2.2 | ||||
Attached Files |
|
|
regini.inc.patch (322 bytes)
Index: fcl-registry/src/regini.inc =================================================================== --- fcl-registry/src/regini.inc (revision 46225) +++ fcl-registry/src/regini.inc (working copy) @@ -318,5 +318,6 @@ procedure TRegIniFile.CloseSection; begin CloseKey(CurrentKey); + fCurrentKey := 0; end; |
|
Applied, thanks for the patch ! |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-04 15:51 | C Western | New Issue | |
2020-08-04 15:51 | C Western | File Added: regini.inc.patch | |
2020-11-13 21:46 | Michael Van Canneyt | Assigned To | => Michael Van Canneyt |
2020-11-13 21:46 | Michael Van Canneyt | Status | new => resolved |
2020-11-13 21:46 | Michael Van Canneyt | Resolution | open => fixed |
2020-11-13 21:46 | Michael Van Canneyt | Fixed in Version | => 3.3.1 |
2020-11-13 21:46 | Michael Van Canneyt | Fixed in Revision | => 47410 |
2020-11-13 21:46 | Michael Van Canneyt | FPCTarget | => 3.2.2 |
2020-11-13 21:46 | Michael Van Canneyt | Note Added: 0126894 |