Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_5_BASE
Revision 1.105 / (download) - annotate - [select for diffs], Fri Apr 13 14:11:37 2018 UTC (6 years, 1 month ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.104: +6 -9 lines
Diff to previous 1.104 (colored)
mg tries to write backups to the wrong directory when run under a different effective user, i.e. when invoced via su and backup-to-home-directory is enabled. Problem pointed out and diff provied by Lucas Gabriel Vuotto <lvuotto92 () gmail ! com>, thanks! Subsequently slacked on for nearly a year by yours truly. Then remembered when Han Boetes <hboetes () gmail ! com> came up with a similar diff because of a problem report by Mark Willson where it turned out that getlogin(2) is not very portable. OK tb