summaryrefslogtreecommitdiff
path: root/usr.bin/make/buf.c
AgeCommit message (Expand)Author
2023-06-01make: shorten function names, clean up commentsrillig
2022-01-08make: inline Buf_Clearrillig
2021-12-15make: prevent memory leaks from buffersrillig
2021-11-28make: move duplicate function Buf_AddFlag to buf.crillig
2021-06-21make: use simpler upper bound for length in Buf_AddIntrillig
2021-01-30make(1): remove __predict_falserillig
2021-01-30make(1): inline Buf_GetAllrillig
2021-01-30make(1): only clean up the Buffer data in CLEANUP moderillig
2021-01-30make(1): split Buf_Destroy into Buf_Done and Buf_DoneDatarillig
2020-12-30make(1): format multi-line commentsrillig
2020-12-28make(1): rename Buf_Expand_1 to Buf_Expandrillig
2020-11-23make(1): indent buf.c with tabs instead of spacesrillig
2020-11-07make(1): make API of Buf_Init simplerrillig
2020-11-07make(1): clean up code stylisticallyrillig
2020-10-24make(1): remove macros MIN and MAXrillig
2020-10-24make(1): clean up comments in buf.crillig
2020-09-27make(1): in the Buffer functions, rename bp to bufrillig
2020-09-27make(1): rename Buffer fieldsrillig
2020-09-13make(1): clean up RCSID blocksrillig
2020-08-23make(1): clean up code in buf.crillig
2020-08-23make(1): use common MAX macro instead of self-definedrillig
2020-08-13make(1): remove type alias Byte = charrillig
2020-08-09make(1): format the source code consistently, at least per filerillig
2020-08-09make(1): fix variable length array in Buf_AddIntrillig
2020-08-08make(1): remove trailing Z from buffer functionsrillig
2020-08-03make(1): no declaration-after-statement anymorerillig
2020-08-01make(1): remove redundant if clause from Buf_DestroyCompactrillig
2020-08-01make(1): switch Buffer size from int to size_trillig
2020-07-26make(1): add Buffer functions for common tasksrillig
2020-07-26make(1): add Buf_AddInt to make the calling code simplerrillig
2020-07-03make(1): remove redundant parentheses around return valuesrillig
2012-04-24Var* are generally very liberal with memory, with the expectationsjg
2009-01-17Change 'Buffer' so that it is the actual struct, not a pointer to it.dsl
2008-12-20A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.dsl
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-02-15back all changes out until I fix it properly.christos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2005-08-08From Max Okumoto:christos
2005-08-05More KNF cleanups from Max Okumotochristos
2005-07-25Whitespace KNF cleanup from Max Okumotochristos
2005-02-16PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]christos
2004-05-07Simplify build, no functional changes.ross
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-06-15Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.wiz
1999-09-15Nuke Buf_{G,Ung}etByte{,s}(), since they aren't used, and make BufExpand domycroft
1997-09-28wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAPlukem
1997-07-01Add WARNS=1christos
1996-12-31Use only integral types in procedure arguments.christos
1996-11-06- Merge in FreeBSD and Lite2 changes.christos
1996-03-29Added erealloc() function that calls enomem() if the allocation failsjtc