nmh-workers
[Top] [All Lists]

[Nmh-workers] Minor Thing About the Welcome Message.

2017-08-19 07:03:15
Hi,

I've been doing `inc -version' before and after upgrading the installed
nmh as 1.7-release changes to check it went OK.  I noticed this
behaviour.

    $ cat ~/mail/context
    Current-Folder: inbox
    Version: nmh-1.7-RC2
    $ sed -i 2d ~/mail/context
    $
    $ inc -version
    ========================================================================
    Welcome to nmh version 1.7-RC2
    ...
    This message will not be repeated until nmh is next updated.
    ========================================================================

    Press enter to continue: 

    inc -- nmh-1.7-RC2 1.7-RC2-1-g42b75672 built 2017-08-18 06:44:22 +0000 on 
orac
    $
    $ cat ~/mail/context
    Current-Folder: inbox
    $
    $ inc -version
    ========================================================================
    Welcome to nmh version 1.7-RC2
    ...
    This message will not be repeated until nmh is next updated.
    ========================================================================

    Press enter to continue: 

    inc -- nmh-1.7-RC2 1.7-RC2-1-g42b75672 built 2017-08-18 06:44:22 +0000 on 
orac
    $

There are probably various valid paths where a program exit(0)s that
don't write the context file.

That reminds me.  sbr/done.c's done is a file pointer that often points
to exit(3).  (`make ctags' fails to find it unless `-I NORETURN' is
given to the exuberant ctags here.)  Is it just a poor man's atexit(3),
and should we aim to switch to that as it would give chaining?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>