Hi,
In the previous patch, I forgot to check for excluded files at
verification time (duh). I also add the name of the excluded files list
into the mtree output so it can be retrieved later (e.g. in
/usr/libexec/security).
Index: Makefile
Same with patch inline:
Index: Makefile
===
RCS file: /cvs/src/usr.sbin/mtree/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile15 Apr 2013 06:25:18 - 1.9
+++ Makefile20 Jun 2014 12:45:35 -
On Fri, Jun 20, 2014 at 04:34:19PM +0200, Manuel Giraud wrote:
+ lbuf = NULL;
+ while ((buf = fgetln(fp, len))) {
+ if (buf[len - 1] == '\n') {
+ if (len == 1)
+ continue;
+ buf[len - 1] = '\0';
+
Tobias Stoeckmann tob...@stoeckmann.org writes:
On Fri, Jun 20, 2014 at 04:34:19PM +0200, Manuel Giraud wrote:
+lbuf = NULL;
+while ((buf = fgetln(fp, len))) {
+if (buf[len - 1] == '\n') {
+if (len == 1)
+continue;
+