summaryrefslogtreecommitdiff
path: root/usr.bin/make/str.c
AgeCommit message (Expand)Author
2020-07-03make(1): clean up documentation of Str_Matchrillig
2020-06-15make(1): fix performance problem in specially crafted :M modifierrillig
2020-06-14usr.bin/make: revert performance improvementrillig
2020-06-13usr.bin/make: make Str_Match faster for repeated asterisksrillig
2020-06-13usr.bin/make: remove redundant parentheses around returnrillig
2020-06-13usr.bin/make: consistently use ++ for incrementing pointersrillig
2020-06-13usr.bin/make: fix typo in commentrillig
2020-05-06Behave like gmake: empty string does not match % patternchristos
2020-05-03usr.bin/make: refactor brk_stringrillig
2020-04-25- Percent on the rhs is special only if the lhs has one too.christos
2019-12-01Fix out-of-bounds read in Str_Match.rillig
2017-04-21Str_Match: fix closure tests for [^] and add unit-test.sjg
2017-04-11Str_Match: allow [^a-z] to behave as expected.sjg
2016-04-06Fully avoid the nonstandard types u_char, u_int, and u_long, whichgson
2014-02-12Reduce the calls to realloc from brk_string by basing initial argmax guesssjg
2012-03-03Note in comment that Str_Match() does not detect or report invaliddholland
2009-02-25replace c++ style comment by a c-style onesno
2009-01-17Change 'Buffer' so that it is the actual struct, not a pointer to it.dsl
2008-12-19PR/32154: Roland Illig: brk_string fails to report errors in unquoted strings.christos
2008-12-19PR/34138: Roland Illig: In the non-expand case, fix brk_string not to eatchristos
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
2006-12-22Correctly handle '\' at the end of a variable in the non-expanding case.erh
2006-08-11If a word is "" eat the last quote since we ate the first.christos
2005-08-08From Max Okumoto:christos
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-09-27Implement :[] modifier to allow picking a range of words out of a variable.sjg
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-14Pass WARNS=3christos
2002-06-15Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.wiz
1998-11-06- full prototypeschristos
1998-03-26PR/5210: Hauke Fath: make core dumps with .SHELLchristos
1997-09-28wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAPlukem
1997-07-01Add WARNS=1christos
1996-11-06- Merge in FreeBSD and Lite2 changes.christos
1996-03-29Added erealloc() function that calls enomem() if the allocation failsjtc
1995-10-30Always ensure space for trailing NULL in argvws
1995-06-14- $NetBSD$ rcsidschristos
1995-02-04str.c: Don't free NULL; does not work with non posix frees.christos
1994-06-16Christos' fix for quoting variable extraction properly.jtc
1994-06-06Fixes from Christos Zoulas, who used purify, objectcenter and testcenterjtc
1994-05-17Properly parse null command line arguments in makefile rules.jtc
1994-03-23Fixes from Christos Zoulas:jtc
1994-03-05fixes/improvements from Christos Zoulas <christos@deshaw.com>.cgd
1994-01-13Include appropriate header files to bring prototypes into scope.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd