#
3a628b46 |
| 05-Sep-2017 |
schwarze <schwarze@openbsd.org> |
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump.
show more ...
|
#
6ecde746 |
| 09-Sep-2016 |
millert <millert@openbsd.org> |
Move the 10 (!) defintions of NULL to their own mini header file and update the NULL definition for C++11. OK deraadt@ guenther@ kettenis@
|
#
e7fbb21c |
| 20-Nov-2015 |
millert <millert@openbsd.org> |
POSIX says that ffs(), strcasecmp(), strncasecmp(), r?index() and the b* byte functions belong in strings.h, not string.h so break them out of string.h into a new strings.h. As long as there is no P
POSIX says that ffs(), strcasecmp(), strncasecmp(), r?index() and the b* byte functions belong in strings.h, not string.h so break them out of string.h into a new strings.h. As long as there is no POSIX or X/OPEN define in use string.h will pull in strings.h. OK naddy@ deraadt@
show more ...
|
#
8cf7d58c |
| 10-Aug-2014 |
guenther <guenther@openbsd.org> |
Delete duplicate conditional
diff from frantisek holop (minusf (at) obiit.org)
|
#
abf4a3ad |
| 13-Jun-2014 |
matthew <matthew@openbsd.org> |
Add timingsafe_memcmp().
ok deraadt, jmc, tedu
|
#
2fa321be |
| 22-Jan-2014 |
tedu <tedu@openbsd.org> |
add explicit_bzero to libc. implementation subject to change, but start the ball rolling. ok deraadt.
|
#
2eb94c6c |
| 13-May-2013 |
ajacoutot <ajacoutot@openbsd.org> |
Add an implementation of memmem() -- from FreeBSD with some tweaks. Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon.
joint work with miller
Add an implementation of memmem() -- from FreeBSD with some tweaks. Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon.
joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@
show more ...
|
#
82d303ad |
| 11-Apr-2013 |
guenther <guenther@openbsd.org> |
Add 'restrict' per POSIX, per prodding by tedu@. (Might permit more warnings?) Tweak standards exposure of memchr (never) and strdup (POSIX-2008) Remove unnecessary tests of __BSD_VISIBLE
ok miller
Add 'restrict' per POSIX, per prodding by tedu@. (Might permit more warnings?) Tweak standards exposure of memchr (never) and strdup (POSIX-2008) Remove unnecessary tests of __BSD_VISIBLE
ok millert@
show more ...
|
#
1ef6a089 |
| 25-Mar-2012 |
guenther <guenther@openbsd.org> |
strsignal() was added to POSIX-2008; strerror_r() was in the base of POSIX-2001, without the XSI qualifier. Adjust conditionals to match.
ok millert@
|
#
4f2939c2 |
| 17-Jan-2012 |
guenther <guenther@openbsd.org> |
Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. Includes friendly linker warning to wake up those dumb enough to use it.
Committing for kettenis@, who ran away to the hills after
Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. Includes friendly linker warning to wake up those dumb enough to use it.
Committing for kettenis@, who ran away to the hills after writing it
show more ...
|
#
c4ff7bee |
| 03-Jul-2011 |
jsg <jsg@openbsd.org> |
As pointed out by Richard Guenther our definition of NULL was incorrect for c++ compilers that aren't gcc (or pretend to be gcc like clang).
ok miod@
|
#
0c2a5da7 |
| 06-Apr-2011 |
miod <miod@openbsd.org> |
Define NULL as a void * instead of a long integer, as required by Single Unix. Kernel and bootblocks still use the old 0L value until all the NULL abuses in the code are fixed.
|
#
03cd71ad |
| 24-Sep-2010 |
matthew <matthew@openbsd.org> |
Add timingsafe_bcmp(3) to libc, mention that it's already in the kernel in kern(9), and remove it from OpenSSH.
ok deraadt@, djm@
|
#
243f3935 |
| 18-May-2010 |
tedu <tedu@openbsd.org> |
add posix_madvise, posix_memalign, strndup, and strnlen. mostly from brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
|
#
6d0ae6a4 |
| 03-Sep-2007 |
millert <millert@openbsd.org> |
add memrchr(3)
|
#
c916d948 |
| 06-Jan-2006 |
millert <millert@openbsd.org> |
Adapt things to use __type_t instead of _BSD_TYPE_T_ Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
|
#
52a0e603 |
| 13-Dec-2005 |
millert <millert@openbsd.org> |
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraad
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
show more ...
|
#
e31daa15 |
| 30-Mar-2005 |
deraadt <deraadt@openbsd.org> |
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him
show more ...
|
#
0208a84f |
| 20-Jun-2004 |
avsm <avsm@openbsd.org> |
add bounds check for src pointer in bcopy(3) as well as dest pointer, noticed by millert@
|
#
89b95c1c |
| 01-Aug-2003 |
avsm <avsm@openbsd.org> |
add __bounded__ attributes for userland headers; enabled with -Wbounded ok deraadt@
|
#
3e87668a |
| 26-Jun-2003 |
avsm <avsm@openbsd.org> |
backout the __bounded__ attributes for a while; requested by deraadt@
|
#
585be00b |
| 26-Jun-2003 |
avsm <avsm@openbsd.org> |
Mark various standard library functions with the __bounded__ attribute. You must have an up-to-date gcc for this! deraadt@ ok
|
#
e33d3bd3 |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
da0518e2 |
| 21-Nov-2002 |
marc <marc@openbsd.org> |
add prototype for strerror_r
|
#
8248c2b4 |
| 25-Oct-2002 |
millert <millert@openbsd.org> |
NULL is now 0L so it is the same size as a pointer. OK mickey@ and discussed with deraadt@
|