Ticket #2831 (closed defect: invalid)
ini file grows to excessive size with blank lines
Reported by: | guido | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | mc-core | Version: | 4.8.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Upon every exit from mc, the ini config file adds several blank lines between sections. If not corrected, it grows to thousands of lines. Performance is NOT affected. I use a sed script to fix it, but, that should NOT be needed. (sed -i '/$/d;/\[/{x;p;x;}' ini). This is occurring even when there are NO changes to the setup. Clearly not an important bug. But, could it get fixed in some future release?
NB: It happens even when auto-save=setup is disabled
Attachments
Change History
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 4 Changed 12 years ago by guido
Replying to andrew_b:
Cannot confirm.
First of all, show the output of mc -V. What version of glib you use?
GNU Midnight Commander 4.8.3
Built with GLib 2.28.6
Using the ncurses library
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With multiple codepages support
Virtual File Systems: ftpfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;
comment:3 Changed 12 years ago by guido
ini1 has a few more lines than ini0. ini0 is the start ini; ini1 is after just 1 exit with auto-save on.
comment:5 Changed 12 years ago by andrew_b
- Status changed from new to closed
- Resolution set to invalid
This is GLib bug: GLib bugreport in GNOME bugzilla.
Fixed in defa25f3d00619947720be0bcda2357bd43e718f
Cannot confirm.
First of all, show the output of mc -V. What version of glib you use?