summaryrefslogtreecommitdiff
path: root/lib/libc/string/strtok.c
AgeCommit message (Expand)Author
2004-10-27Implement strtok() in terms of strtok_r()dsl
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1998-11-15delintchristos
1998-02-03remove obsolete register declarationsperry
1998-01-30update to lite-2perry
1997-07-13Fix RCSID'schristos
1994-06-11Remove unneeded #include <stddef.h> because <string.h> #defines NULL too.jtc
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd
the size of encoded buffer to include the NULL, fromchristos 2016-02-15Use fparseln to avoid newline hacks.christos 2014-05-11Add a history function that takes a FILE pointer; needed for Capsicum.christos 2011-11-18Add coverity annotations about unreachable code (Kamil Dudka)christos 2011-07-29pass -Wconversionchristos 2011-07-29- fix unused paramschristos 2011-07-29KNF return (\1); -> return \1;christos 2011-07-28kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.christos 2011-07-28include vis.h from dot.christos 2011-07-27fix narrow compilationchristos 2011-07-27- don't leave cursor dangling on memory failure or after clearing the listchristos 2011-01-16off by one in fetching history data. From: Gerry Swislowchristos 2010-01-03rename historyw -> history_w for consistency.christos 2009-12-30Fix wide build, test it, but don't turn it on yet.christos 2009-12-30Wide character support (UTF-8) from Johny Mattsson; currently disabled.christos 2009-09-07apply apple patches from:christos 2009-02-06Plug memory leak, from MySQL.sketch 2006-09-28Fix memory leak found by valgrind (Julien Torres)christos 2005-08-01Don't forget to initialize h_del; from Julien Torres.christos 2005-07-14PR/30747: David N. Williams: libedit is missing remove_history()christos 2005-07-06Fix memory leaks found by valgrind. From Julien Torreschristos 2004-11-27PR/26785: Jess Thrysoee: libedit - H_NEXT and H_PREV shifts cursor on failurechristos 2004-08-24make sure that we round up to 1K.christos 2004-08-20PR/26725: Sergey S. Kostyliov: Typo in libedit, possible buffer overflow in s...christos 2003-10-18change allocation policy in el_push to allocate the string itself.christos 2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc 2003-06-19From michael@moria.de:christos 2003-01-21Add a uniquefier for the history function.christos 2002-10-27don't crash in memory shortage conditions.christos 2002-10-13write the vis(3) converted string into the file, not the original one.christos 2002-03-18- constify; passes all gcc and lint strict checks.christos 2001-09-29history_def_enter: fix off-by-one mistake in delete condition (the behaviourjdolecek 2001-03-20chmod the history file to 600 so that only the owner can read it.christos 2000-09-04convert to new style guide, which includes:lukem 2000-08-29history_def_set has a `const int' as a third arg, not an `int'.lukem