PATCH: make user (~/.minirc.<name>) configuration saving work
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Sat Jul 19 12:28:16 UTC 2014
Hi,
On Thu Jul 17, 2014 at 12:06:13 -0700, Henner Zeller wrote:
> 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)
Thanks, committed. Regarding global variables, those are in BSS and
automatically cleared to 0.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the minicom-devel
mailing list