Loading...
string/FreeBSD/memccpy.3.patch Libc-498 Libc-763.11
--- Libc/Libc-498/string/FreeBSD/memccpy.3.patch
+++ Libc/Libc-763.11/string/FreeBSD/memccpy.3.patch
@@ -1,6 +1,6 @@
---- _SB/Libc/string/FreeBSD/memccpy.3	2003-05-20 15:23:54.000000000 -0700
-+++ _SB/Libc/string/FreeBSD/memccpy.3.edit	2006-06-28 16:55:53.000000000 -0700
-@@ -43,26 +43,31 @@
+--- memccpy.3.bsdnew	2009-11-18 18:24:32.000000000 -0800
++++ memccpy.3	2009-11-18 18:24:32.000000000 -0800
+@@ -39,27 +39,35 @@
  .Sh SYNOPSIS
  .In string.h
  .Ft void *
@@ -36,5 +36,9 @@
 -.Fa len
 +.Fa n
  bytes are copied, and a NULL pointer is returned.
++.Pp
++The source and destination strings should not overlap, as the
++behavior is undefined.
  .Sh SEE ALSO
  .Xr bcopy 3 ,
+ .Xr memcpy 3 ,