Modify

Opened 18 years ago

Closed 18 years ago

#43 closed Bug (Fixed)

IniReadSectionNames returning incorrect number of sections (extra blank section)

Reported by: lte5000 Owned by:
Milestone: 3.2.11.0 Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Windows 98SE Cc:

Description

IniReadSectionNames returns an extra blank section that does not exist in the INI file.
This behavior occurs on Windows 98 SE.
The function returns the correct number of sections on Windows XP SP2.

Example:

FileDelete("test.ini")
IniWrite("test.ini", "section1", "key1", "abc")
$var = IniReadSectionNames("test.ini")
MsgBox(0, "how many sections", $var[0])
For $i = 1 To $var[0]
 MsgBox(0, "section #" & $i, $var[$i])
Next

Attachments (0)

Change History (3)

comment:1 by J-Paul Mesnage, 18 years ago

Resolution: fixed
Status: newclosed

(In [2829]) Fixed #43: IniReadSectionNames() returning incorrect number of sections under Win9x.

comment:2 by anonymous, 18 years ago

Resolution: fixed
Status: closedreopened

comment:3 by J-Paul Mesnage, 18 years ago

Milestone: 3.2.11.0
Resolution: fixed
Status: reopenedclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.