Ticket #285 (new defect)

Opened 3 years ago

Last modified 3 years ago

config.ini handling bug with MinGW compiled version

Reported by: Enig123 Assigned to: Madcat
Priority: normal Milestone:
Component: hydraengine Version:
Severity: major Keywords:
Cc:

Description

The first one is "MessageFilter?" cannot set correctly while Visual Studio compiled version can.

The second one is "SharedDirs?", the shared directories is kind mess after restart hn. For example, if you get two shared directories setting like this:

[code] Count=1 Dir_0=/Entertain/Video Dir_0_recurse=0 Dir_1=../eMule/Incoming Dir_1_recurse=1 /code

after restarting hn core it changed like this: [code] Count=1 Dir_0=../eMule/Incoming Dir_0_recurse=1 Dir_1=../eMule/Incoming Dir_1_recurse=1 /code

See? the first shared directory dissapear while the second one duplicated. If there's only one shared directory, it will disappear after restarting.

Formerly MSVC compiled version start shared Dir with Dir_1 instead of Dir_0 in the config.ini file. So I guess there's an initial problem (defalt initial value is different from MSVC?) with MinGW build.

Change History

06/14/06 03:39:43 changed by Enig123

My mistake, the first setting was:

Count=2 Dir_0=/Entertain/Video Dir_0_recurse=0 Dir_1=../eMule/Incoming Dir_1_recurse=1

After restart of hn core, it turns to be:

Count=1 Dir_0=../eMule/Incoming Dir_0_recurse=1 Dir_1=../eMule/Incoming Dir_1_recurse=1