Re: [S-mailx] [ANN]ounce of S-nail v14.9.12 ("Blue tit's spiral marriage swoop")

2019-03-08 Thread Steffen Nurpmeso
Hello list!

Steffen Nurpmeso wrote in <20190307202715.e5z9h%stef...@sdaoden.eu>:
 |please let me announce S-nail v14.9.12, the "Blue tit's spiral
 |marriage swoop".

Thanks for the build error reports (workaround: use -std=c89)!
I have also introduced inconsistencies in the last few days,
notably

 |- New command line option -T#80 aka --target='FIELD: BODY'.
 |  FIELD can be To:, Cc:, Bcc: or Fcc:.
 |  The BODY is parsed as a list (just as if the given FIELD would
 |  be part of a template message fed in via -t#81), but the
 |  "?single" modifier suffix can be used to avoid this.
 |  (Dr. Werner Fink)

this is false: that is, this would be nice, but the code and the
manual is vice versa.  This parses as single receiver and there is
a ?list modifier to change that.

 |+ `if'#211 and `elif'#182.
 |  E.g., 'wysh if "abc" ==?case "ABC"' is true, as well as is
 |  'wysh if 0x -eq?saturated 36#1Y2P0IJ32E8E7'.
 |  "==?" and "-eq?" would have been sufficient, here.
 |  (No unsigned mode (yet) for `if'#211.)

This is too permissive.  We need `ignerr' prefix support and
?saturated should only permit overflow errors!

I want to apologize for the inconvenience, i will fix all that and
release a v14.9.13 as soon as possible, but with the same name.

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)


Re: [S-mailx] [ANN]ounce of S-nail v14.9.12 ("Blue tit's spiral marriage swoop")

2019-03-08 Thread Steffen Nurpmeso
Hello Johannes!

johan...@schoepfer.info wrote in :
 |> please let me announce S-nail v14.9.12, the "Blue tit's spiral
 |> marriage swoop".
 |
 |I can't compile it with OPT_AUTOCC=0, build log attached.
 |OPT_AUTOCC=yes works.
 |
 |I'm on linux, x86_64, gcc 8.2.0., CFLAGS="-O2 -fPIC"

Please let met quote the problem in question

  ...
  |In file included from /tmp/s-nail-14.9.12/include/mx/nail.h:75,
  | from /tmp/s-nail-14.9.12/src/mx/main.c:42:
  |/tmp/s-nail-14.9.12/src/mx/main.c: In function 'a_main_setup_screen':
  |/tmp/s-nail-14.9.12/src/mx/main.c:280:32: error: expression in static 
assertion is not constant
  |LCTAV(VAL_HEIGHT[0] != '\0' && (VAL_HEIGHT[1] == '\0' ||
  |/tmp/s-nail-14.9.12/include/su/code.h:171:38: note: in definition of macro 
'su_LCTA'
  | # define su_LCTA(T,M) _Static_assert(T, M)
  ...

This is a compiler bug, the expression is very well a constant, it
comes from make.rc and is transformed to a preprocessor #define,
which should be treated as a constant.  (gcc seems to have more
such problems, Jean-Marc Pigeon reported one more issue that
i also have seen before, where a numeric constant coming in via
preprocessor constant results in unused value warnings in
conditional expressions which clip the value to be in between some
MIN and MAX.)

I am using -std=c89 here, can you make it work when you pass this
additionally in $CFLAGS?
I am sorry for the inconvenience.. and will finally see whether,
and if, how i can address this somehow!

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)


Re: [S-mailx] [ANN]ounce of S-nail v14.9.12 ("Blue tit's spiral marriage swoop")

2019-03-08 Thread johannes

Hi Steffen,


please let me announce S-nail v14.9.12, the "Blue tit's spiral
marriage swoop".


I can't compile it with OPT_AUTOCC=0, build log attached.
OPT_AUTOCC=yes works.

I'm on linux, x86_64, gcc 8.2.0., CFLAGS="-O2 -fPIC"


Johanness-nail-14.9.12/
s-nail-14.9.12/src/
s-nail-14.9.12/src/su/
s-nail-14.9.12/src/su/x-mem-tools.h
s-nail-14.9.12/src/su/x-assoc-map.h
s-nail-14.9.12/src/su/utf.c
s-nail-14.9.12/src/su/sort.c
s-nail-14.9.12/src/su/prime.c
s-nail-14.9.12/src/su/mem-tools.c
s-nail-14.9.12/src/su/mem-bag.c
s-nail-14.9.12/src/su/mem-alloc.c
s-nail-14.9.12/src/su/icodec-enc.c
s-nail-14.9.12/src/su/icodec-dec.c
s-nail-14.9.12/src/su/gen-errors.h
s-nail-14.9.12/src/su/gen-cs-ctype.h
s-nail-14.9.12/src/su/cs-tools.c
s-nail-14.9.12/src/su/cs-tbox.c
s-nail-14.9.12/src/su/cs-misc.c
s-nail-14.9.12/src/su/cs-find.c
s-nail-14.9.12/src/su/cs-dict.c
s-nail-14.9.12/src/su/cs-ctype.c
s-nail-14.9.12/src/su/cs-alloc.c
s-nail-14.9.12/src/su/core-errors.c
s-nail-14.9.12/src/su/core-code.c
s-nail-14.9.12/src/su/avopt.c
s-nail-14.9.12/src/ps-dotlock/
s-nail-14.9.12/src/ps-dotlock/main.c
s-nail-14.9.12/src/mx/
s-nail-14.9.12/src/mx/xtls.c
s-nail-14.9.12/src/mx/vexpr.c
s-nail-14.9.12/src/mx/urlcrecry.c
s-nail-14.9.12/src/mx/ui-str.c
s-nail-14.9.12/src/mx/tty.c
s-nail-14.9.12/src/mx/tls.c
s-nail-14.9.12/src/mx/thread.c
s-nail-14.9.12/src/mx/termcap.c
s-nail-14.9.12/src/mx/strings.c
s-nail-14.9.12/src/mx/spam.c
s-nail-14.9.12/src/mx/socket.c
s-nail-14.9.12/src/mx/smtp.c
s-nail-14.9.12/src/mx/smtp-gssapi.h
s-nail-14.9.12/src/mx/signal.c
s-nail-14.9.12/src/mx/shortcut.c
s-nail-14.9.12/src/mx/shexp.c
s-nail-14.9.12/src/mx/sendout.c
s-nail-14.9.12/src/mx/send.c
s-nail-14.9.12/src/mx/rfc1321.h
s-nail-14.9.12/src/mx/quit.c
s-nail-14.9.12/src/mx/popen.c
s-nail-14.9.12/src/mx/pop3.c
s-nail-14.9.12/src/mx/path.c
s-nail-14.9.12/src/mx/obs-lzw.c
s-nail-14.9.12/src/mx/obs-imap.c
s-nail-14.9.12/src/mx/obs-imap-gssapi.h
s-nail-14.9.12/src/mx/obs-imap-cache.c
s-nail-14.9.12/src/mx/names.c
s-nail-14.9.12/src/mx/mlist.c
s-nail-14.9.12/src/mx/mime.c
s-nail-14.9.12/src/mx/mime-types.c
s-nail-14.9.12/src/mx/mime-parse.c
s-nail-14.9.12/src/mx/mime-param.c
s-nail-14.9.12/src/mx/mime-enc.c
s-nail-14.9.12/src/mx/message.c
s-nail-14.9.12/src/mx/main.c
s-nail-14.9.12/src/mx/maildir.c
s-nail-14.9.12/src/mx/imap-search.c
s-nail-14.9.12/src/mx/ignore.c
s-nail-14.9.12/src/mx/iconv.c
s-nail-14.9.12/src/mx/header.c
s-nail-14.9.12/src/mx/go.c
s-nail-14.9.12/src/mx/gen-tcaps.h
s-nail-14.9.12/src/mx/gen-okeys.h
s-nail-14.9.12/src/mx/folder.c
s-nail-14.9.12/src/mx/fio.c
s-nail-14.9.12/src/mx/filter-quote.c
s-nail-14.9.12/src/mx/filter-html.c
s-nail-14.9.12/src/mx/filetype.c
s-nail-14.9.12/src/mx/edit.c
s-nail-14.9.12/src/mx/dotlock.h
s-nail-14.9.12/src/mx/dotlock.c
s-nail-14.9.12/src/mx/dig-msg.c
s-nail-14.9.12/src/mx/csop.c
s-nail-14.9.12/src/mx/commandalias.c
s-nail-14.9.12/src/mx/colour.c
s-nail-14.9.12/src/mx/collect.c
s-nail-14.9.12/src/mx/cmd-write.c
s-nail-14.9.12/src/mx/cmd-tab.h
s-nail-14.9.12/src/mx/cmd-tab.c
s-nail-14.9.12/src/mx/cmd-resend.c
s-nail-14.9.12/src/mx/cmd-msg.c
s-nail-14.9.12/src/mx/cmd-misc.c
s-nail-14.9.12/src/mx/cmd-head.c
s-nail-14.9.12/src/mx/cmd-folder.c
s-nail-14.9.12/src/mx/cmd-cnd.c
s-nail-14.9.12/src/mx/charsetalias.c
s-nail-14.9.12/src/mx/auxlily.c
s-nail-14.9.12/src/mx/attachment.c
s-nail-14.9.12/src/mx/accmacvar.c
s-nail-14.9.12/snailmail.jpg
s-nail-14.9.12/nail.rc
s-nail-14.9.12/nail.1
s-nail-14.9.12/mx-test.sh
s-nail-14.9.12/mx-config.h
s-nail-14.9.12/mk/
s-nail-14.9.12/mk/su-make-errors.sh
s-nail-14.9.12/mk/su-find-command.sh
s-nail-14.9.12/mk/make-tcap-map.pl
s-nail-14.9.12/mk/make-rules.sh
s-nail-14.9.12/mk/make-okey-map.pl
s-nail-14.9.12/mk/make-mime-types.sh
s-nail-14.9.12/mk/make-config.sh
s-nail-14.9.12/mk/make-config.in
s-nail-14.9.12/mime.types
s-nail-14.9.12/makefile
s-nail-14.9.12/make.rc
s-nail-14.9.12/make-emerge.sh
s-nail-14.9.12/include/
s-nail-14.9.12/include/su/
s-nail-14.9.12/include/su/utf.h
s-nail-14.9.12/include/su/sort.h
s-nail-14.9.12/include/su/prime.h
s-nail-14.9.12/include/su/mem.h
s-nail-14.9.12/include/su/mem-bag.h
s-nail-14.9.12/include/su/icodec.h
s-nail-14.9.12/include/su/cs.h
s-nail-14.9.12/include/su/cs-dict.h
s-nail-14.9.12/include/su/config.h
s-nail-14.9.12/include/su/code.h
s-nail-14.9.12/include/su/code-ou.h
s-nail-14.9.12/include/su/code-in.h
s-nail-14.9.12/include/su/bits.h
s-nail-14.9.12/include/su/avopt.h
s-nail-14.9.12/include/mx/
s-nail-14.9.12/include/mx/vexpr.h
s-nail-14.9.12/include/mx/ui-str.h
s-nail-14.9.12/include/mx/shortcut.h
s-nail-14.9.12/include/mx/names.h
s-nail-14.9.12/include/mx/nailfuns.h
s-nail-14.9.12/include/mx/nail.h
s-nail-14.9.12/include/mx/mlist.h
s-nail-14.9.12/include/mx/iconv.h
s-nail-14.9.12/include/mx/gen-version.h
s-nail-14.9.12/include/mx/filter-quote.h
s-nail-14.9.12/include/mx/filter-html.h
s-nail-14.9.12/include/mx/filetype.h
s-nail-14.9.12/include/mx/def.h
s-nail-14.9.12/include/mx/csop.h
s-nail-14.9.12/include/mx/commandalias.h