summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
1999-11-06Document a few of the problems I've found while revamping make.Marc Espie
Temporary solution, until Todd or somebody else *finally* starts reviewing the first patches of the 20,000 lines diff I currently have...
1999-11-06Bug-fix: when expanding a specific variable v in $A,Marc Espie
check that v is PRECISELY A. Other BSDs, take notice.
1999-10-05Mark ParseReadC as inline (from NetBSD)Marc Espie
1999-10-05Efficiency patch from NetBSD:Marc Espie
make spends time freeing data structures right before exiting. So don't bother. Keep the code inside #ifdef, so that it's still there if someone ever wants to use make code inside a library.
1999-10-05Kill unused functions Buf_UngetByte, Buf_UngetBytes, Buf_GetByte, Buf_GetBytes.Marc Espie
Replace the buffer reallocation mechanism with something much more efficient. Originally from NetBSD. Tweaks to the allocator to first loop finding the correct size, then reallocate; change the heuristic to double the size until we're over what's needed by some fixed amount.
1999-10-05util.c only holds compatibility functions that OpenBSD doesn't use.Marc Espie
Keep the file for compatibility, but don't bother compiling it. From NetBsd
1999-09-28FixMarc Espie
.if defined(VAR) && ${VAR:m} cond.c has special code (set err to 0) to tell VarParse it shouldn't care if the variable is not defined. But this was not completely added, namely the path that deals with modifiers was blissfully unaware of that.
1999-09-28disabled optimizations for 88kSteve Murphree
1999-09-25Add :L/:U modificators (lowercase/uppercase)Marc Espie
To use to get ports building more user-friendly.
1999-07-29"sprite.h"; soren@t.dkTheo de Raadt
1999-06-06Once again, fix the spelling of "occurrence" in the documentationPaul Janzen
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-06-01Fix some mips -> __mips__ stuff.Per Fogelstrom
1999-05-16More special targets documentation.Marc Espie
More odd behavior (filed as `bugs' in some cases...)
1999-05-04Better comment explaining last change:Todd C. Miller
We don't want to end a word on ':' or '!' if there is a better match later on in the string. By "better" I mean one that is followed by whitespace. This allows the user to have targets like: fie::fi:fo: fum where "fie::fi:fo" is the target. In real life this is used for perl5 library man pages where "::" separates an object from its class. Ie: "File::Spec::Unix". This behaviour is also consistent with other versions of make.
1999-05-04Allow embedded ":" or "!" in target namesTodd C. Miller
1999-03-17Document known problem and work-around, until I manage to get it fixed.Marc Espie
1999-03-06back out changes that should not have escaped my local treeTodd C. Miller
1999-03-06add missing reference to infocmpTodd C. Miller
1999-02-23Document the other side of .MAINMarc Espie
1999-01-09close PR 685.Marc Espie
Slightly trimmed down version of fix by assar@sics.se (strtol failure is usually simpler to test, and error messages should identify the program that produces them)
1998-12-20bye bye BADSIGTheo de Raadt
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-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-09-05more man page repairs; aaron@ug.cs.dal.caTheo de Raadt
1998-07-23portable bootstrap thing; lidl@eng.us.uu.netTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1998-07-13Use SEEK_CUR as "whence" in fseek, not 1.Todd C. Miller
1998-07-03Better fix from Christos:Todd C. Miller
deleting a suffix that has 0 source references causes core-dump. Fix: when an unused suffix gets removed, delete it from the suffix list. There is still, however a duplicate free(), which I work around by passing the Suffix back as a return value to SuffRemove() (it gets set to NULL when the suffix is freed). This is probably not the best way to fix this.
1998-07-02Check against suffNull, not the contents of nameTodd C. Miller
1998-07-02better fix; may be a small memory leak thoughTodd C. Miller
1998-07-02back out last patch; it causes incorrect behaviorTodd C. Miller
1998-07-02Fix a bug where make gets confused by targets beginning with a period (``.'')Todd C. Miller
and tried to do a suffix conversion, following a NULL pointer in the proccess. Also add some sanity checks so we don't blindly assume strchr returns non-NULL.
1998-06-29make the bootstrap compile on modern compilersArtur Grabowski
1998-06-03zero sigaction before useTheo de Raadt
1998-05-13catch more commands that require a shellTheo de Raadt
1998-05-12emulate umask inside make, so that the value gets propogated; also ensureTheo de Raadt
that "exit" gets passed to the shell and make does not attempt to execve() it. Other commands will probably come later..
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1998-03-15fix possibility of null pointer deref when using make's "-j" option.flipk
1998-03-07Add -Wno-char-subscripts to CFLAGSTodd C. Miller
1998-03-07make gcc 2.8 happyTodd C. Miller
1998-02-22some ansiMichael Shalayeff
1998-01-28Use BSDmakefile in favour of [mM]akefile if existent. Good forNiklas Hallqvist
cases where you want BSDmake specific facilities not messing up other implementations of make
1998-01-02use _exit()Theo de Raadt
1997-12-18for the test following test case, do not output FOOBAR=bar (should be FOOBAR=)Theo de Raadt
problem reported by mark@thuvia.demon.co.uk FOO= FOOBAR=$(FOO:=bar)
1997-12-16do not overflow fd_setTheo de Raadt
1997-10-13powerpc ELFPer Fogelstrom
1997-09-21$OpenBSD$Theo de Raadt
1997-09-18environment variablesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff