svn commit: r281235 - stable/10/usr.sbin/pmcstudy
Randall Stewart
rrs at FreeBSD.org
Tue Apr 7 21:05:54 UTC 2015
Author: rrs
Date: Tue Apr 7 21:05:52 2015
New Revision: 281235
URL: https://svnweb.freebsd.org/changeset/base/281235
Log:
MFC of r280697 and r280698
Sponsored by: Netflix Inc.
Added:
stable/10/usr.sbin/pmcstudy/pmcstudy.8
- copied, changed from r280697, head/usr.sbin/pmcstudy/pmcstudy.8
Deleted:
stable/10/usr.sbin/pmcstudy/pmcstudy.1
Modified:
stable/10/usr.sbin/pmcstudy/Makefile
stable/10/usr.sbin/pmcstudy/pmcstudy.c
Modified: stable/10/usr.sbin/pmcstudy/Makefile
==============================================================================
--- stable/10/usr.sbin/pmcstudy/Makefile Tue Apr 7 20:29:03 2015 (r281234)
+++ stable/10/usr.sbin/pmcstudy/Makefile Tue Apr 7 21:05:52 2015 (r281235)
@@ -2,6 +2,7 @@
# $FreeBSD$
PROG= pmcstudy
+MAN= pmcstudy.8
SRCS= pmcstudy.c eval_expr.c
CFLAGS+= -Wall -Werror
Copied and modified: stable/10/usr.sbin/pmcstudy/pmcstudy.8 (from r280697, head/usr.sbin/pmcstudy/pmcstudy.8)
==============================================================================
--- head/usr.sbin/pmcstudy/pmcstudy.8 Thu Mar 26 15:40:47 2015 (r280697, copy source)
+++ stable/10/usr.sbin/pmcstudy/pmcstudy.8 Tue Apr 7 21:05:52 2015 (r281235)
@@ -25,7 +25,7 @@
.\" $FreeBSD$
.\"
.Dd Mar 26, 2015
-.Dt PMCSTUDY 1
+.Dt PMCSTUDY 8
.Os
.Sh NAME
.Nm pmcstudy
Modified: stable/10/usr.sbin/pmcstudy/pmcstudy.c
==============================================================================
--- stable/10/usr.sbin/pmcstudy/pmcstudy.c Tue Apr 7 20:29:03 2015 (r281234)
+++ stable/10/usr.sbin/pmcstudy/pmcstudy.c Tue Apr 7 21:05:52 2015 (r281235)
@@ -2130,7 +2130,11 @@ test_for_a_pmc(const char *pmc, int out_
printf(" ");
}
}
- printf("%s", &line[j]);
+ if (len) {
+ printf("%s", &line[j]);
+ } else {
+ printf("\n");
+ }
goto out;
}
}
More information about the svn-src-stable-10
mailing list