summaryrefslogtreecommitdiff
path: root/usr.bin/make/str.c
AgeCommit message (Collapse)Author
1999-12-09Introduce `common usage' buf patterns and use them.Marc Espie
1999-12-06Clean up buffers interface somewhat:Marc Espie
- buf.c deals exclusively with chars. Be explicit about it, and remove extraneous dumb casts to char (can hide real type errors). - buffer sizes are size_t. Note that bp->left can never become NULL. - Buf_GetAll is happy with a NULL pointer for the size, remove unneeded extra pointers. - Propagate size_t to all places where buffer functions are used.
1999-12-06- introduce interval_dup in str.cMarc Espie
- use it to replace .for parsing with something approaching sanity. (this removes one of the few most blatant misuses of Bufs in make. More changes to come... patch reviewed by ho@
1999-11-11Kill Str_FindSubString, it's strstr.Marc Espie
1998-12-05Modifications from netbsd:Marc Espie
- don't interfere with MACHINE/MACHINE_ARCH defines for bootstrap - type clean-up, time_t, and printing `unknown' ints - fix TARGET/MEMBER bug in archive rules - memmove... - cleaner Error handler. - reentrant brk_string - .MAKE env variable - preliminary scaffolding for .NOPATH Other improvements: - efree - shellneed streamlined - display Stop in .CURDIR after an error. - document most features and misfeatures. - add a few OpenBSD notes to the tutorial.
1998-03-07make gcc 2.8 happyTodd C. Miller
1996-11-30Sync with NetBSD:Todd C. Miller
- Merge in FreeBSD and Lite2 changes. - Fix bug where a non-archive target with a .a suffix would always be considered to be out of date, since it does not have a TOC. - Fix NetBSD PR #2930: declare missing variable.
1996-06-26rcsidTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt
1995-11-01Always ensure space for trailing NULL in argvTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt