Tim J. Robbins
1707c9c3f5
Restore Berkeley SCCS id.
2002-10-24 02:48:45 +00:00
Tim J. Robbins
4bf546e192
Replace this wcsncpy() implementation with one based on strncpy.c to fix
...
two major bugs:
- off-by-one overflow when the length of the source string exceeds or
equals the destination buffer size.
- old version was not padding the destination buffer with null wide chars
2002-10-23 04:35:25 +00:00
Tim J. Robbins
99330f8368
Remove unnecessary #include <assert.h>; it was used to bring in the
...
_DIAGASSERT macro on NetBSD, but we don't need it.
2002-09-21 00:29:23 +00:00
Tim J. Robbins
9c261371ec
Add restrict qualifiers where C99 permits them. All of these already had
...
restrict qualifiers on their prototypes in <wchar.h>.
2002-09-07 04:03:28 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
David E. O'Brien
de5fe5d53b
rcsid[]->__FBSDID
2001-11-07 19:55:16 +00:00
David E. O'Brien
5864b79cd2
Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.
...
Do the same for the non-wcs*/wmem* files while I'm here.
2001-05-24 08:47:42 +00:00
Ruslan Ermilov
9d3618b999
Unbreak world; _DIAGASSERT macro is not available in FreeBSD.
2001-05-16 14:34:47 +00:00
Takuya SHIOZAKI
9829d36a86
initial import of locale insensitive wcs* and wmem* functions.
...
Obtained from: NetBSD and Citrus.
2001-05-15 06:01:19 +00:00