diff options
author | asomers <asomers@FreeBSD.org> | 2017-04-26 14:44:39 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2017-04-26 14:44:39 +0000 |
commit | 68f68f2b9f1b96d4fadc6e8a171c0345f4daf49e (patch) | |
tree | c36c53a3ab699a780ffb75877f45032836b45d60 /etc/mtree | |
parent | 2e038644705b8871a3c08813ffa4a48fea4d3ba9 (diff) | |
download | FreeBSD-src-68f68f2b9f1b96d4fadc6e8a171c0345f4daf49e.zip FreeBSD-src-68f68f2b9f1b96d4fadc6e8a171c0345f4daf49e.tar.gz |
MFC r316501, r316523
r316501:
Fix file descriptor and memory leaks in pr(1)
Also, hook NetBSD's pr test into the build, and add three more test cases.
Reported by: Coverity, Valgrind
CID: 271650 271651 271652 271653 271654 271655 271656 271656
CID: 271657 271658 271659 1006939 1006940 1006941 1006942 1009098
Reviewed by: ngie
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D9137
r316523:
Remove a duplicate fclose() that snuck into r316501
Reported by: Coverity
CID: 1373338
X-MFC-With: 316501
Sponsored by: Spectra Logic Corp
Diffstat (limited to 'etc/mtree')
-rw-r--r-- | etc/mtree/BSD.tests.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 867f095..7e7bf61 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -626,6 +626,8 @@ .. opensm .. + pr + .. printf .. sdiff |