]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make code compile when basename() is POSIX compliant.
authored <ed@FreeBSD.org>
Thu, 26 May 2016 13:49:40 +0000 (13:49 +0000)
committered <ed@FreeBSD.org>
Thu, 26 May 2016 13:49:40 +0000 (13:49 +0000)
commit32ba4de644e73d19661af89589272d631286af54
tree6e8d137cd023f976c1dbe3753d71d5e776130b5f
parent68577ced5e08fb5b933dc0310c2d27923d981b37
Make code compile when basename() is POSIX compliant.

In addition to the previous change I made to ar.c, pull in another
basename() related fix. This change is similar to the one made to the
ELF Toolchain version of ar, with the difference that the ELF Toolchain
version lacks error handling for the strdup() call.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D6467
usr.bin/ar/write.c