Hello Mr. Bell.
I want to apologise for being so terse in my first reply.
Steffen Nurpmeso wrote in <20191231170106.qhh9d%[email protected]>:
...
|[email protected] wrote in <[email protected]>:
|| I switched to packaged s-nailx today s-nail-14.9.16 and get
||these warnings:
||
|| mailx: Warning: variable superseded or obsoleted: NAIL_NO_SYSTEM_RC
|| mailx: Warning: variable superseded or obsoleted: NAIL_EXTRA_RC
||
||I don't set these variables anywhere.
Yes. I am sorry, but that cannot be helped easily.
You will get exact feedback when setting or clearing a variable:
#?0!0/NONE#0|:/var/spool/mail/steffen? set autothread
mailx: Warning: variable superseded or obsoleted: autothread
ERROR# #?0!0/NONE#1|:/var/spool/mail/steffen? unset dotlock-ignore-error
mailx: Warning: variable superseded or obsoleted: dotlock-ignore-error
ERROR# #?0!0/NONE#1|:/var/spool/mail/steffen?
But when variables are only read, for example in a shell
expression or in a conditional, then what to do? It is tried to
access an obsolete variable, and we use the same functions for
this task everywhere. So i made this happen in verbose only mode.
ERROR# #?0!0/NONE#1|:/var/spool/mail/steffen? var encoding
#variable not set: encoding
#?0!0/NONE#1|:/var/spool/mail/steffen? set verbose
#?0!0/NONE#1|:/var/spool/mail/steffen? varshow encoding
mailx: Warning: variable superseded or obsoleted: encoding
#obsoleted
#variable not set: encoding
ERROR# #?0!0/NONE#1|:/var/spool/mail/steffen? varshow encoding
#obsoleted
#variable not set: encoding
ERROR# #?0!0/NONE#1|:/var/spool/mail/steffen?
It will be logged once only, at least. I thought about adding
specific functions which do the logging, but that would have been
a lot of work, and maybe i would have missed some, too. Full
truth is i have forgotten, but i cannot imagine that i did not
think about doing this.
Anyway, it is what it is, and i hope the false positives are not
too heavy. Unfortunately there will be a _tremendous_ amount of
false positives when you perform a TLS handshake, for example.
I have been bitten by this myselves several times by now. A real
sigh here. Mantas Mikulėnas once asked for the possibility to get
such a log (mostly regarding authentication, if i recall
correctly), so here you go. Tremendous amount ...
Maybe i can do something about it, but the next release is
hopefully nothing but v14.10.0, and i do not expect it before
summer comes, i have so many ideas and needs, hopefully i get them
all in. Including OpenPGP support. That is a long time.
You could ask the Slackware maintainer to apply the attached
patch, maybe?
Ciao.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
diff --git a/src/mx/accmacvar.c b/src/mx/accmacvar.c
index f89a390f..149bb1d4 100644
--- a/src/mx/accmacvar.c
+++ b/src/mx/accmacvar.c
@@ -1631,7 +1631,7 @@ jleave:
avcp->avc_var = avp;
j_leave:
-#ifdef a_AMV_VAR_HAS_OBSOLETE
+#if 0 /*def a_AMV_VAR_HAS_OBSOLETE*/
if(UNLIKELY((avmp = avcp->avc_map) != NIL &&
(avmp->avm_flags & a_AMV_VF_OBSOLETE) != 0)){
if((n_poption & n_PO_D_V) || /* TODO v15compat: only if PO_D_V! */