CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2013/10/22 01:41:23

Modified files:
        usr.bin/mg     : file.c 

Log message:
Our man page states that it's not portable to rely on dirname(3) not
modifying the contents of the passed string. Replace dirname(3) with
mg's xdirname portability helper function (a slightly different fix
than Gentoo's).

Report and initial analysis by Marien Zwart in Gentoo bug #487758 via
Han Boetes (hboetes _AT_ gmail).
Gentoo bugfix by Ulrich Mueller (ulm _AT_ gentoo).
testing on glibc / input Ulrich Mueller; testing on glibc Han Boetes.
Thanks!

OK jasper@

Reply via email to