summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/open_memstream.36
-rw-r--r--lib/libc/sys/Makefile.inc2
-rw-r--r--lib/libc/sys/madvise.28
-rw-r--r--lib/libc/tests/gen/posix_spawn/Makefile2
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/stdio/open_memstream.3 b/lib/libc/stdio/open_memstream.3
index e01952b..1a0cb07 100644
--- a/lib/libc/stdio/open_memstream.3
+++ b/lib/libc/stdio/open_memstream.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 28, 2014
+.Dd August 1, 2015
.Dt OPEN_MEMSTREAM 3
.Os
.Sh NAME
@@ -86,13 +86,13 @@ will contain the start of the memory buffer and the variable referenced by
will contain the smaller of the current position and the current buffer length.
.Pp
After a successful call to
-.Xr fflush 3,
+.Xr fflush 3 ,
the pointer referenced by
.Fa bufp
and the variable referenced by
.Fa sizep
are only valid until the next write operation or a call to
-.Xr fclose 3.
+.Xr fclose 3 .
.Pp
Once a stream is closed,
the allocated buffer referenced by
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index fbd28cd..3b1f8fd 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -100,8 +100,6 @@ ASM+=$(_asm)
.endif
.endfor
-OBJS+= ${ASM} ${PSEUDO}
-
SASM= ${ASM:S/.o/.S/}
SPSEUDO= ${PSEUDO:S/.o/.S/}
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2
index 357e05e..499bf67 100644
--- a/lib/libc/sys/madvise.2
+++ b/lib/libc/sys/madvise.2
@@ -28,7 +28,7 @@
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd January 30, 2014
+.Dd July 12, 2015
.Dt MADVISE 2
.Os
.Sh NAME
@@ -79,9 +79,9 @@ pages in from backing store, but quickly map the pages already in memory
into the calling process.
.It Dv MADV_DONTNEED
Allows the VM system to decrease the in-memory priority
-of pages in the specified range.
-Additionally future references to
-this address range will incur a page fault.
+of pages in the specified address range.
+Consequently, future references to this address range are more likely
+to incur a page fault.
.It Dv MADV_FREE
Gives the VM system the freedom to free pages,
and tells the system that information in the specified page range
diff --git a/lib/libc/tests/gen/posix_spawn/Makefile b/lib/libc/tests/gen/posix_spawn/Makefile
index d2dfa54..f20bbd7 100644
--- a/lib/libc/tests/gen/posix_spawn/Makefile
+++ b/lib/libc/tests/gen/posix_spawn/Makefile
@@ -21,6 +21,8 @@ PROGS+= h_spawnattr
SCRIPTS= h_nonexec
SCRIPTS+= h_zero
+CLEANFILES+= h_nonexec
+
.include "../../Makefile.netbsd-tests"
h_zero:
OpenPOWER on IntegriCloud