#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
200417 |
|
11-Dec-2009 |
delphij |
Remove unnecessary includes.
Reviewed by: rodrigc
|
#
146338 |
|
18-May-2005 |
harti |
Get rid of the ReturnStatus obscuration that was anyway used only in two places. While here don't bother returning anything from Lst_Replace - nobody ever checks the return code.
Suggested by: jmallet
|
#
146177 |
|
13-May-2005 |
harti |
Move the Boolean and ReturnStatus stuff from sprite.h to util.h and get rid of sprite.h.
Obtained from: DragonFlyBSD
|
#
143977 |
|
22-Mar-2005 |
harti |
Remove debugging code that crept in in the last commit.
|
#
143976 |
|
22-Mar-2005 |
harti |
Remove Lst_Find() and Lst_FindFrom() now that they aren't needed anymore.
|
#
143704 |
|
16-Mar-2005 |
harti |
Now that there are no users of Lst_ForEach and Lst_ForEachFrom are left delete these two macros and all the associated stuff.
|
#
143657 |
|
15-Mar-2005 |
harti |
Ups. Revert the last commits. These have been committed by accident.
|
#
143656 |
|
15-Mar-2005 |
harti |
modifier_M: instead of going through the string twice to compute the size of the buffer we need, just allocate the possible maximum.
Patch: 7.117
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
#
143328 |
|
09-Mar-2005 |
harti |
Implement a new macro LST_NEXT which is like Lst_Succ but doesn't check for its argument to be non-NULL.
|
#
142208 |
|
22-Feb-2005 |
harti |
Invent the LST_FOREACH macro for looping through a list. In contrast to the Lst_ForEach function this macro reduces the number of function calls per invocation by N + 1 (where N is the number of list elements) and increases code locality thereby increasing readability and (maybe) performance.
|
#
141645 |
|
10-Feb-2005 |
harti |
Lst_Append returns void, so the other case of the ? statement should also be void.
Submitted by: stefanf
|
#
141104 |
|
01-Feb-2005 |
harti |
Clean up include files and file including. Split nonints.h into pieces that get included just where they are needed. All headers include the headers that they need to compile (just with an empty .c file). Sort includes alphabetically where apropriate and fix some duplicate commenting for struct Job, struct GNode and struct Shell by removing one version and inlining the comments into the structure declaration (the comments have been somewhat outdated).
This patch does not contain functional changes (checked with md5).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
#
138916 |
|
16-Dec-2004 |
harti |
Instead of dynamically allocating list heads allocated them statically now that their size is only two pointers. This eliminates a lot of calls to Lst_Init and from there to malloc together with many calls to Lst_Destroy (in places where the list is obviously empty). This also reduces the chance to leave a list uninitilized so we can remove more NULL pointer checks and probably eliminates a couple of memory leaks.
|
#
138629 |
|
09-Dec-2004 |
harti |
Nobody actually checked the return codes from Lst_Append and Lst_Insert so don't return anything.
|
#
138577 |
|
08-Dec-2004 |
harti |
No caller checks the return code from Lst_Remove, so don't return one. Simplify the algorithm now that circular lists are gone.
|
#
138566 |
|
08-Dec-2004 |
harti |
Remove return value from Lst_Concat. None of the callers ever checked it. Remove stuff that was needed for circular lists.
|
#
138564 |
|
08-Dec-2004 |
harti |
Get rid of the sequential access feature of the lists. This was used only in a couple of places and all of them except for one were easily converted to use Lst_First/Lst_Succ. The one place is compatibility mode in job.c where the it was used to advance to the next command on each invocation of JobStart. For this case add a pointer to the node to hold the currently executed command.
|
#
138561 |
|
08-Dec-2004 |
harti |
Constify the arguments to the list compare function. This temporarily requires to make a copy of the filename in ReadMakefile and to duplicate two small functions in suff.c. This hopefully will go away when everything is constified.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)
|
#
138512 |
|
07-Dec-2004 |
harti |
Typedefs of pointers to structs are evil. Make Lst and LstNode typedef of the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
|
#
138510 |
|
07-Dec-2004 |
harti |
Make needs no circular lists so remove them from the list code.
|
#
138222 |
|
30-Nov-2004 |
harti |
Change a couple of the primitve list functions to be macros. This changes the semantic of Lst_Datum which formerly returned NULL when the argument node was NULL. There was only one place in the source that relied on this so change that place.
|
#
138192 |
|
29-Nov-2004 |
harti |
Use typedefs for the types of the functions that are passed as arguments to the list functions for better readability.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
#
138185 |
|
29-Nov-2004 |
harti |
Merge the contents of lstInt.h into the public lst.h. This let's us get rid of a lot of uneccesary casts and temporary variables that have just obfuscated the code. This also let's us implement a couple of the one- liner list functions as macros (the first one is Lst_IsEmpty) and simplify life once we start to throw consts on the code.
|
#
103503 |
|
17-Sep-2002 |
jmallett |
#define<space> -> #define<tab>
|
#
94589 |
|
13-Apr-2002 |
obrien |
Fix copyrights, and undo SCS ID damage.
|
#
93056 |
|
23-Mar-2002 |
imp |
o unifdef -D__STDC__ o remove badly bit-rotted compat file that likely won't work on the systems it purports to support.
|
#
92921 |
|
21-Mar-2002 |
imp |
remove __P
|
#
69531 |
|
02-Dec-2000 |
will |
There's also no point in #typedef'ing void/char pointers. Accordingly, rip out ClientData/Address pointers and use standard types.
Obtained from: OpenBSD
|
#
69527 |
|
02-Dec-2000 |
will |
There's no reason to use fancy forms of NULL. Replace all instances of NIL, NILLST, NILLGNODE, etc. with NULL.
Obtained from: OpenBSD
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49938 |
|
16-Aug-1999 |
hoek |
Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).
Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
|
#
23006 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
18804 |
|
08-Oct-1996 |
steve |
O' to be bitten by CVS. Cleanup after import of Christos' version of make(1) and add Id's.
Set straight by: Bruce Evans and Peter Wemm :)
|
#
18730 |
|
06-Oct-1996 |
steve |
Merge in NetBSD's changes to make(1). Changes include:
- Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes
Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :)
Obtained from: NetBSD, christos@netbsd.org, and me
|
#
8874 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
5814 |
|
23-Jan-1995 |
jkh |
Bring in a number of changes from NetBSD's make, fixing quite a few problems in the process:
1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor)
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|