| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
double documentation comments. Remove the 3rd clause (from 4) of the
BSD license because these files have only the UCB copyright.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=141115
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=141104
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138916
|
| |
|
|
|
|
|
| |
so don't return anything.
Notes:
svn path=/head/; revision=138629
|
| |
|
|
|
|
|
| |
somewhat so that we can remove a local variable.
Notes:
svn path=/head/; revision=138581
|
| |
|
|
|
|
|
| |
Simplify the algorithm now that circular lists are gone.
Notes:
svn path=/head/; revision=138577
|
| |
|
|
|
|
|
| |
that the list's first element is not on the list.
Notes:
svn path=/head/; revision=138567
|
| |
|
|
|
|
|
| |
it. Remove stuff that was needed for circular lists.
Notes:
svn path=/head/; revision=138566
|
| |
|
|
|
|
|
| |
in the caller instead.
Notes:
svn path=/head/; revision=138565
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138564
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=138561
|
| |
|
|
|
|
|
|
|
| |
the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
Notes:
svn path=/head/; revision=138512
|
| |
|
|
| |
Notes:
svn path=/head/; revision=138510
|
| |
|
|
|
|
|
| |
macro for this; reorder an if.
Notes:
svn path=/head/; revision=138273
|
| |
|
|
|
|
|
|
|
|
|
| |
and the sizeof operator, missing empty lines, void casts, extra empty lines.
Checked by: diff on make *.o lst.lib/*.o
Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly)
Notes:
svn path=/head/; revision=138232
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138222
|
| |
|
|
|
|
|
|
|
| |
to the list functions for better readability.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=138192
|
| |
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138185
|
| |
|
|
| |
Notes:
svn path=/head/; revision=138111
|
| |
|
|
|
|
|
|
| |
defined to __RCSID when bootstrapping, by the Makefile, but this change is
for consistency
Notes:
svn path=/head/; revision=104694
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100037
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92921
|
| |
|
|
|
|
|
|
|
| |
rip out ClientData/Address pointers and use standard types.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=69531
|
| |
|
|
|
|
|
|
|
| |
of NIL, NILLST, NILLGNODE, etc. with NULL.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=69527
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62831
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
Notes:
svn path=/head/; revision=49938
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23006
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
|
|
| |
of Christos' version of make(1) and add Id's.
Set straight by: Bruce Evans and Peter Wemm :)
Notes:
svn path=/head/; revision=18804
|
| |\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=18765
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
vendor branch for reference.
Obtained from: Christos Zoulas <christos@netbsd.org>
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=18764
|
| |\|
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=18757
|
| |
|
|
|
|
|
|
| |
"for reference". This doesn't change anything since all files
have been touched.
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=18756
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=18730
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8874
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=5814
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|