From: Ralph Corderoy Date: Sun, 14 May 2017 11:53:33 +0000 (+0100) Subject: uip/mhstoresbr.c: Fix single-character nmh-storage bug. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5c4ca1ed9df0ec985e53e8c759208d5c65660422?hp=5c4ca1ed9df0ec985e53e8c759208d5c65660422 uip/mhstoresbr.c: Fix single-character nmh-storage bug. If the profile component nmh-storage was a single character, e.g. the relative directory `d', then it would be dropped from the output path so instead of `d/foo' being written, `/foo' would probably fail. I think this was due to a faulty check for nmh-storage being `/'. Add a test for a non-/ single-character nmh-storage. ---