#52 devcpp.ini grows with garbage strings

None
fixed
None
2013-02-18
2013-02-18
Neo
No

I found an interesting bug in C:\Documents and Settings[user]\Application Data\Dev-Cpp\devcpp.ini. Each time I start Dev-C++ and close it, the OriginalPath in [Directories] section will be appended with duplicate strings. Eventually this line grows very big.

Like this:

[Directories]
OriginalPath="F:\Programs\dev-c++\MinGW32\bin;F:\Programs\dev-c++\MinGW32\bin;"

Discussion

  • Neo

    Neo - 2013-02-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
    -Each time I start Dev-C++ and close it, I found an interesting bug in C:\Documents and Settings\[user]\Application Data\Dev-Cpp\devcpp.ini:
    +I found an interesting bug in C:\Documents and Settings\[user]\Application Data\Dev-Cpp\devcpp.ini. Each time I start Dev-C++ and close it, the OriginalPath in [Directories] section will be appended with duplicate strings. Eventually this line grows very big.
    +
    +Like this:
    
     [Directories]
     OriginalPath="F:\Programs\dev-c++\MinGW32\bin;F:\Programs\dev-c++\MinGW32\bin;"
    -
    -The OriginalPath will be appended with duplicate strings each time. Eventually this line grows very big.
    
    • milestone: -->
     
  • orwelldevcpp

    orwelldevcpp - 2013-02-18
    • status: open --> accepted
    • assigned_to: orwelldevcpp
     
  • orwelldevcpp

    orwelldevcpp - 2013-02-18

    Confirmed. To be fixed in 5.4.1.

     
  • orwelldevcpp

    orwelldevcpp - 2013-02-18

    Fixed.

    This field should not have been stored in the ini files, and contains what is best called unused garbage.

    Although zero harm can be done by this, it is much nicer to fix of course. ;)

     
  • orwelldevcpp

    orwelldevcpp - 2013-02-18
    • status: accepted --> fixed
     

Log in to post a comment.