PATCH: make user (~/.minirc.<name>) configuration saving work

Henner Zeller h.zeller at acm.org
Thu Jul 17 19:06:13 UTC 2014


Hi,
In non-setup mode, saving of a configuration is broken: If 'save as' is
chosen (as regular user, not with option -s), it does not use the
configuration name chosen, but always ~/.minirc.dfl. So essentially: it was
broken when used in non-setup mode.
This patch fixes that. It is against head of the current mercurial. The
important part is in src/config.c;donamsave(), then there were some other
smallish things to clean up (e.g. the global dosetup variable was never
initialized)

Possible commit message
 o 'Save as' configuration is stored under the chosen name in home
directory.
 o Fix uninitialized global variable (dosetup)
 o Better naming of 'some_string' -> save_setup_as_menu

Thanks,
  Henner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20140717/6a5f3e52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-config.patch.gz
Type: application/x-gzip
Size: 899 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20140717/6a5f3e52/attachment.bin>


More information about the minicom-devel mailing list