Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | I am retiring my old email address; replace it with my OpenBSD one. | millert | 2019-01-25 | 1 | -2/+2 |
| | |||||
* | Roll back uintptr_t cast changes after discussions with tedu, otto and | dtucker | 2016-10-16 | 1 | -8/+2 |
| | | | | | | | | | | | | | others. C11 6.5.6.9 says: When two pointers are subtracted, both shall point to elements of the same array object, or one past the last element of the array object; the result is the difference of the subscripts of the two array elements. In these cases the objects are arrays of char so the result is defined, and we believe that the report is based on a compiler incorrectly trapping on defined behaviour. | ||||
* | Cast pointers to uintptr_t to avoid potential signedness errors. | dtucker | 2016-10-14 | 1 | -2/+8 |
| | | | | | Based on patch from yuanjie.huang at windriver.com via OpenSSH bz#2608, with & ok millert, ok deraadt. | ||||
* | Add framework for resolving (pun intended) libc namespace issues, using | guenther | 2015-08-31 | 1 | -1/+2 |
| | | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@ | ||||
* | Make strlcpy/strlcat slightly easier to read. | millert | 2015-01-15 | 1 | -19/+18 |
| | |||||
* | Convert do {} while loop -> while {} for clarity. No binary change | millert | 2006-05-05 | 1 | -5/+5 |
| | | | | on most architectures. From Oliver Smith. OK deraadt@ and henning@ | ||||
* | zap remaining rcsid. | espie | 2005-08-08 | 1 | -5/+1 |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@ | otto | 2005-03-30 | 1 | -5/+5 |
| | |||||
* | Sync with share/misc/license.template and add missing DARPA credit | millert | 2003-06-17 | 1 | -9/+9 |
| | | | | where applicable. | ||||
* | Change copyright to a less restrictive ISC-style license to encourage | millert | 2003-04-12 | 1 | -23/+12 |
| | | | | people to bundle this code. | ||||
* | ANSI function headers | millert | 2003-03-14 | 1 | -6/+3 |
| | |||||
* | type of function on seperate line | deraadt | 2001-05-13 | 1 | -3/+4 |
| | |||||
* | Break up into two loops, one for the copy, another to finish traversal | millert | 1999-05-01 | 1 | -13/+17 |
| | | | | of the src string if len(src) >= size. Speeds up the common case a bit. | ||||
* | simplified version that doesn't call strlen and that is simpler to convert ↵ | millert | 1999-04-24 | 1 | -7/+8 |
| | | | | to assembler (both for gcc and me) | ||||
* | add missing const to match prototype in string.h | wvdputte | 1998-11-06 | 1 | -3/+3 |
| | |||||
* | add strlcpy/strlcat, safe and sensible string copy/append | millert | 1998-07-01 | 1 | -0/+63 |