Subject: CVS commit: src/lib/libc/string
To: None <source-changes@NetBSD.org>
From: Christian Biere <cbiere@netbsd.org>
List: source-changes
Date: 01/14/2007 18:48:28
Module Name: src
Committed By: cbiere
Date: Sun Jan 14 18:48:28 UTC 2007
Modified Files:
src/lib/libc/string: strndup.c
Log Message:
Look only at the first `n' characters to avoid traversing a potentially
huge string for nothing.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/lib/libc/string/strndup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.