summaryrefslogtreecommitdiffstats
path: root/bin/csh/str.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert2018-09-181-2/+2
| | | | OK deraadt@
* backout last week of csh diffs. They are disasterously broken, on i386deraadt2018-09-181-2/+2
| | | | it becomes entirely unusable.
* strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko2018-09-151-2/+2
| | | | | | with help from martijn@. ok millert@ martijn@
* Remove the #define Strfoo() s_strfoo() redirection and move everythingnaddy2015-10-261-13/+13
| | | | directly to Strfoo(). Purely mechanical. ok deraadt@
* Clean up cruft made visible by the NLS unifdefing:naddy2015-10-261-5/+1
| | | | | | | | | * remove setlocale() calls * remove write-only variable AsciiOnly * remove now unused string constants STRLANG, STRLC_CTYPE * remove hardcoded support for ISO8859-1 ok millert@
* unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)naddy2015-10-261-4/+1
| | | | and remove a few unused defines; no binary changes; ok tedu@ zhuk@
* Use reallocarray() and remove a few archaic memory allocation practices.deraadt2014-10-161-20/+13
| | | | ok deraadt
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* NUL not NULLderaadt2008-10-031-3/+3
|
* de-register and ansify functionsderaadt2003-06-111-60/+36
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* s_strn{cpy,cat} are no longer used; remove them. also, kill NOTUSED.jsyn2003-05-121-53/+2
| | | | ok tedu@
* strvis -> strnvisvincent2003-04-301-3/+3
| | | | ok millert@
* remove final call to Strcpy/s_strcpy; some help from teduderaadt2003-04-151-14/+2
|
* Strcat/s_strcat is unusedderaadt2003-04-081-17/+2
|
* bring in strlcpy and strlcat-like things for dealing with Char types,deraadt2003-01-081-5/+68
| | | | | | this fixes at least 15 buffer overflows; some help from dhartmei. Anyone want to go do the same in ksh, and help with some of the while (*s++ = *p++) loops in here?
* knftodd2002-06-091-6/+6
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-7/+3
|
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-3/+3
|
* tabifykstailey1997-07-231-3/+3
|
* update rcsidderaadt1996-06-231-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+473