`write'++: !interactive:.. But now, really (Lyndon Nerenberg, David Levine)..
commitb14aae7a71ca54b158654748b87c2c58b2f965ad
authorSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Sat, 8 Oct 2016 16:34:41 +0000 (8 18:34 +0200)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Mon, 10 Oct 2016 13:57:17 +0000 (10 15:57 +0200)
treec3b077a3760840ce1b1d629843bfbccb31844bd8
parent58393be37d83759503b246931dd31826e39a96d7
`write'++: !interactive:.. But now, really (Lyndon Nerenberg, David Levine)..

We should not simply urlxencode() part names in non-interactive
mode, it will convert all 8-bit characters, for example.
Instead convert only those characters which match the new
n_SHEXP_MAGIC_PATH_CHARS plus "/".

Also, don't overwrite files when non-interactive: use O_EXCL, if
we get EEXIST, iterate over after appending some sort of string.

Realized while reading conversation between Lyndon Nerenberg
(lyndon at orthanc dot ca) and David Levine (levinedl at acm dot
org).
nail.1
nail.h
send.c