*folder*, `folders': follow suit UNIX v10 Mail and BSD Mail (elo)..
commitb1ae5dfdde31bc59a93f2ba817fcda3a1c89b390
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Mon, 16 Dec 2019 18:43:40 +0000 (16 19:43 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Sun, 29 Dec 2019 20:28:51 +0000 (29 21:28 +0100)
tree33ec508db81064777e35991cc5146a66562f0e72
parent3a6359c9c681e3f8d82d7c73005f09060876efe1
*folder*, `folders': follow suit UNIX v10 Mail and BSD Mail (elo)..

UNIX v10 mail, and BSD Mail since 1982

  Author:     Kurt Shoens <kurt>
  AuthorDate: 1982-03-15 09:43:52 -0800
  Commit:     Kurt Shoens <kurt>
  CommitDate: 1982-03-15 09:43:52 -0800

      Included Eric's branch changes to remove vax and vmunix
      dependencies.

use the clear implementation

  +       if ((folder = value("folder")) == NOSTR)
  +               return(-1);
  +       if (*folder == '/')
  +               strcpy(name, folder);
  +       else
  +               sprintf(name, "%s/%s", homedir, folder);

as stated by elo in a follow-up to NetBSD Problem Report #54764.
This contradicts POSIX wording which says "unset or null".
Let us follow the implementations.
nail.1
src/mx/cmd-folder.c
src/mx/folder.c