On Sun, Jan 31, 2016 at 05:05:55PM -0500, Josh Grosse wrote: > On Sun, Jan 31, 2016 at 09:57:50PM +0100, Theo Buehler wrote: > > On Sun, Jan 31, 2016 at 11:23:40PM +0300, Andre S wrote: > > > Core dumped when used switch "set Password" (-p) > > > > > > 7z a -p test.7z test.txt > > > > > > Abort trap (core dumped) > > > > > is a missing pledge "tty" for readpassphrase(3), but it's probably > > easier for you to figure out where it should go and where it should be > > dropped. > > > > here's the backtrace > > Thank you both! A patch follows. > > This permits tty for both standard and self-extracting archives.
This fixes the reported issue and looks reasaonable. ok tb@