summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-09-14This kills the last old hashing table, in arch.cMarc Espie
Slight optimizations: instead of storing archive members, just keep the modification time, as we don't care for the rest of the archive information. Lazily compute mtime, stash ascii date instead, and convert to mtime when needed (storing an out_of_date value to mark the unconverted values). Archive handling is atrocious and need some clean-up. Thanks to miod@ who took the time to review those patches.
2000-09-14Introduce a few macros to handle timestamps in an abstract way.Marc Espie
Replace the time stamp hash in dir.c with an open hashing structure. In doing so, remove some nasty casts, simplify code a bit: Dir_MTime can return a modification time, since make does not make a distinction between out-of-date and non-existent files.
2000-09-14Replace the old hash used to hold file names within a directory withMarc Espie
open hashing. An interesting optimization is that the open hashing interface is more fine-grained, hence we can compute the correct hash value at the start of Dir_FindFile, and reuse it for each hash structure into which we look (the effect is measurable on large directories along with objdir/VPATH). Remove a few unnecessary Lst_Open/Lst_Close that serve no purpose except obfuscating the code. The interface to dir.h changes slightly, hence tedious includes changes...
2000-09-14- new DirReadDir internal function, that just reads a directory fromMarc Espie
the disk or from a cache. - use it in Dir_AddDir, and directly to set up dot. - change Dir_AddDir to use string intervals, as this simplifies dependend functions. - set up an open-hashing cache for opened directory names. - add_dirpath() function in main, to simplify code. - simplify cleaning-up directories, as Dir_ClearPath is overkill.
2000-09-14Use the new hash scheme to store the target nodes.Marc Espie
Scrap the list of all targets: it only slows make down. The only visible difference is that the list of all targets is not shown in order when debugging.
2000-09-14Clean-up, systematic use of UNUSED, white space...Marc Espie
2000-09-14Two new functions:Marc Espie
iterate_words: light-weight equivalent to brk_string, which does not need to copy the string, and does not do \ interpretation which are only needed for the string. escape_dup: handles escape sequence in a systematic way. This speeds up variable modifiers. This also makes .for loops more consistent, as they use the same definition of `a word' as the rest of make.
2000-09-14Some systematic clean-up.Marc Espie
- UNUSED macro that expands to __attribute__((unused)) for gcc - move rcsid around so that they can be tagged UNUSED. - activate -Wunused. - use UNUSED instead of kludgy junk for function arguments. - add extern to all extern prototypes. - update comments in lst.h. - clean up var.c a little bit, constifying arguments, updating comments...
2000-09-14syncNiklas Hallqvist
2000-09-14Alta Tech only OEMed, the real vendor was Packet EnginesNiklas Hallqvist
2000-09-14Can't directly :M${MACHINE_ARCH}, so kludge it thru a for loop.Marc Espie
Thanks, Dale.
2000-09-14syncNiklas Hallqvist
2000-09-14Adaptec and RCC extrasNiklas Hallqvist
2000-09-14syncNiklas Hallqvist
2000-09-14i960 PCI-PCI bridgesNiklas Hallqvist
2000-09-14syncNiklas Hallqvist
2000-09-14ATI Mach64 GYNiklas Hallqvist
2000-09-14syncNiklas Hallqvist
2000-09-14Altatech PMC/GNIC2 gigabit ethernetNiklas Hallqvist
2000-09-14syncNiklas Hallqvist
2000-09-14oops pastoNiklas Hallqvist
2000-09-14syncNiklas Hallqvist
2000-09-14Some Adaptec-based RAID product IDsNiklas Hallqvist
2000-09-13Use vis(3) when escaping non-printable characters instead of doing itTodd C. Miller
(poorly) by hand. Also fixes a potential one byte overflow noted by Solar Designer.
2000-09-13more cleanups for wscons devicesEric Jackson
2000-09-13Add creation of ipf devices in all. -mojMats O Jansson
2000-09-13Add support for ipf. -mojMats O Jansson
2000-09-13Allow make clean to proceed.Marc Espie
(This is probably a work-around for a bug in ksh)
2000-09-13Fix problem with bsort and multiple input data, original fix byDale S. Rahn
me, bytes saved by millert, OKed by mickey, millert.
2000-09-13Sync with FreeBSD. Finally make the OpenBSD-specific changes necessary to makeAaron Campbell
non-MII 21143-based cards work. The sync just fixes the LED handling on these kinds of adapters.
2000-09-12Need to mention where to install binutils...Marc Espie
2000-09-12Recognize sparc/i386/m68k-openbsd, and use the netbsd emulation then.Marc Espie
2000-09-12Allow gen-aout.c to compile on something other than #@#!%linuxMarc Espie
2000-09-12remove cygnus tree gdb dependencies: we definitely don't want to dependMarc Espie
on tcl there. This should restore the tree to build status, even though patches are still pending.
2000-09-12Configure the right directories depending on arch.Marc Espie
2000-09-12Adapt gdb to function name change in bfd.Marc Espie
2000-09-12Change make_tempname() interface to create file or directory when needed.Marc Espie
Use the new interface to call safe mkstemp or mkdtemp when available.
2000-09-12Avoid calls to insecure choose_temp_baseMarc Espie
2000-09-12Check for mkdtemp and mkstemp.Marc Espie
2000-09-12Do not build cxxfilt, the -current version lies with gccMarc Espie
2000-09-12link against installed libibertyMarc Espie
2000-09-12Resolve other problems that dumb cvs can't find out by itself.Marc Espie
(trivial part done, `interesting' patches remain)
2000-09-12multiple debug levelsMarkus Friedl
2000-09-12Help stupid cvs fixing basic conflicts.Marc Espie
2000-09-12o add missing getsid() prototypeTodd C. Miller
o fix typo in getsid() that broke getsid(pid) where pid != 0 o cause getsid() and getpgid() to return EPERM if requesting the id of a session/process group not in the current session o check for NULL session in getsid() for exiting processes
2000-09-12regenTodd C. Miller
2000-09-12sys_getsid() and sys_getpgid() return pid_t, not int (though pid_t *is*Todd C. Miller
an int so this didn't break anything).
2000-09-12NATM domain; stoklund@taxidriver.dkTheo de Raadt
2000-09-12Import binutils-2.10Marc Espie
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2000-09-12no longer do ports populate /usr/X11R6Todd T. Fries