Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-20 | POSIX says that ffs(), strcasecmp(), strncasecmp(), r?index() and | Todd C. Miller | |
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@ | |||
2014-08-10 | Delete duplicate conditional | Philip Guenther | |
diff from frantisek holop (minusf (at) obiit.org) | |||
2014-06-13 | Add timingsafe_memcmp(). | Matthew Dempsky | |
ok deraadt, jmc, tedu | |||
2014-01-22 | add explicit_bzero to libc. implementation subject to change, but start | Ted Unangst | |
the ball rolling. ok deraadt. | |||
2013-05-13 | Add an implementation of memmem() -- from FreeBSD with some tweaks. | Antoine Jacoutot | |
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@ | |||
2013-04-11 | Add 'restrict' per POSIX, per prodding by tedu@. (Might permit more warnings?) | Philip Guenther | |
Tweak standards exposure of memchr (never) and strdup (POSIX-2008) Remove unnecessary tests of __BSD_VISIBLE ok millert@ | |||
2012-03-25 | strsignal() was added to POSIX-2008; strerror_r() was in the base | Philip Guenthe | |
of POSIX-2001, without the XSI qualifier. Adjust conditionals to match. ok millert@ | |||
2012-01-17 | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. | Philip Guenthe | |
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 | |||
2011-07-03 | As pointed out by Richard Guenther our definition | Jonathan Gray | |
of NULL was incorrect for c++ compilers that aren't gcc (or pretend to be gcc like clang). ok miod@ | |||
2011-04-06 | Define NULL as a void * instead of a long integer, as required by Single Unix. | Miod Vallat | |
Kernel and bootblocks still use the old 0L value until all the NULL abuses in the code are fixed. | |||
2010-09-24 | Add timingsafe_bcmp(3) to libc, mention that it's already in the | Matthew Dempsky | |
kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@ | |||
2010-05-18 | add posix_madvise, posix_memalign, strndup, and strnlen. mostly from | Ted Unangst | |
brad and millert, with hints from guenther, jmc, and otto I think. ok previous. | |||
2007-09-03 | add memrchr(3) | Todd C. Miller | |
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd C. Miller | |
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ | |||
2005-03-30 | strcasestr(3), a case-insensitive version of strstr(3). already in netbsd | Theo de Raadt | |
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 | |||
2004-06-20 | add bounds check for src pointer in bcopy(3) as well as dest pointer, | Anil Madhavapeddy | |
noticed by millert@ | |||
2003-08-01 | add __bounded__ attributes for userland headers; enabled with -Wbounded | Anil Madhavapeddy | |
ok deraadt@ | |||
2003-06-26 | backout the __bounded__ attributes for a while; requested by deraadt@ | Anil Madhavapeddy | |
2003-06-26 | Mark various standard library functions with the __bounded__ attribute. | Anil Madhavapeddy | |
You must have an up-to-date gcc for this! deraadt@ ok | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-11-21 | add prototype for strerror_r | Marco S Hyman | |
2002-10-25 | NULL is now 0L so it is the same size as a pointer. | Todd C. Miller | |
OK mickey@ and discussed with deraadt@ | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
1999-09-17 | Be thorough about NULL as __null for C++. | Marc Espie | |
1998-11-20 | Add thread-safety to libc, so that libc_r will build (on i386 at least). | David Leonard | |
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO | |||
1998-11-04 | protos for strlcat, strlcpy | Todd C. Miller | |
1998-02-10 | move proto to unistd.h | Theo de Raadt | |
1997-09-21 | Well, as we are heading for a release people are encouraged to rebuild their | Niklas Hallqvist | |
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags. | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |