Re: diff for usr.bin/mg/fileio.c

2018-04-13 Thread Florian Obser
On Thu, Apr 12, 2018 at 07:04:23PM +0200, Han Boetes wrote: > Yes this also works for me. > Awesome, any OKs? Diff again for convenience: diff --git fileio.c fileio.c index 0987f6f30de..339088f5e2d 100644 --- fileio.c +++ fileio.c @@ -703,7 +703,7 @@ expandtilde(const char *fn) struct s

Re: diff for usr.bin/mg/fileio.c

2018-04-12 Thread Han Boetes
Yes this also works for me. On Thu, Apr 12, 2018 at 4:52 PM, Florian Obser wrote: > On Tue, Apr 10, 2018 at 06:49:10PM +0200, Han Boetes wrote: > > I got a problem report from Mark Willson: > > > > "I recently installed mg (via the Debian package) under WSL on > Windows > > 10. > > I fo

Re: diff for usr.bin/mg/fileio.c

2018-04-12 Thread Florian Obser
On Tue, Apr 10, 2018 at 06:49:10PM +0200, Han Boetes wrote: > I got a problem report from Mark Willson: > > "I recently installed mg (via the Debian package) under WSL on Windows > 10. > I found that the 'backup-to-home-directory' option didn't work. > > The cause of this appears to b

diff for usr.bin/mg/fileio.c

2018-04-10 Thread Han Boetes
I got a problem report from Mark Willson: "I recently installed mg (via the Debian package) under WSL on Windows 10. I found that the 'backup-to-home-directory' option didn't work. The cause of this appears to be that getlogin under WSL returns NULL, probably due to my use of wslt