#
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)
|
#
201526 |
|
04-Jan-2010 |
obrien |
Add ability to search up the directory hierarchy for the system directory. Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable.
Reviewed by: <sjg@NetBSD.org> Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD)
|
#
200417 |
|
11-Dec-2009 |
delphij |
Remove unnecessary includes.
Reviewed by: rodrigc
|
#
199419 |
|
17-Nov-2009 |
obrien |
Catch up with r144020's /Dir_FindFile/Path_FindFile/
|
#
199404 |
|
17-Nov-2009 |
obrien |
Garbage collect some old #ifdef'ed code from 1994 that causes vi's '%' to be unable to find a match in Path_FindFile().
|
#
144020 |
|
23-Mar-2005 |
harti |
Make paths an explicite datatype instead of using the generic Lst. A Path is now a TAILQ of PathElements each of which just points to a reference counted directory. Rename all functions dealing with Paths from the Dir_ prefix to a Path_ prefix.
|
#
143979 |
|
22-Mar-2005 |
harti |
Style: <space><tab> -> <tab>
|
#
143978 |
|
22-Mar-2005 |
harti |
Rename struct Path to struct Dir and move it into the C-file. It is not used outside.
|
#
143685 |
|
16-Mar-2005 |
harti |
Fix a comment.
|
#
142209 |
|
22-Feb-2005 |
harti |
Use the new LST_FOREACH macro throughout the file and replace calls to Lst_ForEach and Lst_Find.
|
#
141252 |
|
04-Feb-2005 |
harti |
Some more easy constification.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
#
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>
|
#
138972 |
|
17-Dec-2004 |
harti |
Remove all the cleanup functions. There is no reason to free memory just before exiting (especially given the number of memory leaks) - it just costs time.
|
#
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.
|
#
138621 |
|
09-Dec-2004 |
harti |
If a path element directory was never opened it is not on the list of open directories so there is no need to remove it from there. This fixes a core dump introduced by removing the run-time check from Lst_Remove.
|
#
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)
|
#
138547 |
|
08-Dec-2004 |
harti |
Consify the arguments to str_concat. Remove the STR_DOFREE flag for that purpose and explicitely free the input string in the one place that was calling str_concat with that flag.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
#
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.
|
#
138455 |
|
06-Dec-2004 |
harti |
Some constification which doesn't require code rewrites.
|
#
138441 |
|
06-Dec-2004 |
harti |
Style: fix indentation.
|
#
138264 |
|
01-Dec-2004 |
harti |
Style: remove a lot of unnecessary casts, add some and spell the null pointer constant as NULL.
Checked by: diff -r on the object files before and after
|
#
138232 |
|
30-Nov-2004 |
harti |
Stylification: missing spaces, extra space after function names, casts 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)
|
#
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.
|
#
120676 |
|
02-Oct-2003 |
ru |
Fix a bug that prevented exists() from finding "foo/", "foo/." and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
|
#
120053 |
|
14-Sep-2003 |
ru |
- Cut out the code that caches the "." directory out of Dir_Init() into a separate function, Dir_InitDot().
- Postpone the current and object directories detection (and caching of the "." directory) until after all command line arguments are parsed. This makes the -C option DTRT.
PR: bin/47149
|
#
104696 |
|
09-Oct-2002 |
jmallett |
Convert make(1) to use ANSI style function declarations. Variable documentation already adequatedly existed in the description in most cases. Where it did not, it was added. If no documentation existed beforehand, then none was added. Some unused dummies for use in the traversal functions were marked as __unused during the conversion. Occasionally, local style fixes were applied to lines already being modified or influenced.
Now make(1) should always build with WARNS=3.
|
#
104109 |
|
28-Sep-2002 |
jmallett |
Fix merge error in previous commit.
Sponsored by: Bright Path Solutions
|
#
104108 |
|
28-Sep-2002 |
jmallett |
Add empty default cases where they should be, remove non-local execution stuff in compat.c which doesn't even have preprocessor-conditional-hidden support code, and add a debugging statement where we might end up with a nil list somehow, but where I doubt it.
First confirmed userland kill for Flexelint.
Sponsored by: Bright Path Solutions
|
#
103545 |
|
18-Sep-2002 |
jmallett |
Make the DEBUGF() macro portable by (ugh) adding a Debug() function, which is merely printf() but to stderr. This takes care of the caveat which lead to the use of a vararg macro -- getting everything to stderr.
|
#
103508 |
|
17-Sep-2002 |
jmallett |
Move common use of if (DEBUG(FOO)) printf... to DEBUGF(FOO, ...), using variable length arguments to a macro. Bump version as this makes DEBUG statements *always* go to stderr rather than sometimes stdout. There are a few stragglers, which I will take care of as soon as I can. Mostly these relate to the need-for-death-of some of the remote job code.
Nearby stylistic nits and XXX added/fixed where appropriate.
|
#
103503 |
|
17-Sep-2002 |
jmallett |
#define<space> -> #define<tab>
|
#
98502 |
|
20-Jun-2002 |
jmallett |
Look for wildcards, and balanced meta-characters such as { and } like NetBSD does.
Obtained from: NetBSD
|
#
97686 |
|
31-May-2002 |
jmallett |
Remove a stray asterisk in a comment.
|
#
96704 |
|
16-May-2002 |
trhodes |
More consistancy. file system > filesystem
|
#
94589 |
|
13-Apr-2002 |
obrien |
Fix copyrights, and undo SCS ID damage.
|
#
94587 |
|
13-Apr-2002 |
obrien |
Update SCM ID method.
|
#
94584 |
|
13-Apr-2002 |
obrien |
De'register.
|
#
92921 |
|
21-Mar-2002 |
imp |
remove __P
|
#
75975 |
|
25-Apr-2001 |
ru |
-Wall cleanup.
|
#
72310 |
|
10-Feb-2001 |
will |
Fix nasty bug where make(1) assumed that you could read the directory it was in. This shall be MFC'd in about three days (probably not a good idea to MFC the stylistic changes though - see below).
PR: 19978 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Patch by: roam (slightly modified by me to use NULL not NIL)
|
#
71325 |
|
21-Jan-2001 |
will |
Fix style(9) bug; use ISDOT[DOT,]() macro available in util.c by moving it to make.h so both dir.c and util.c can use it, although bde didn't particularly like this part of the idea, IMO it's cleaner than it was.
Submitted by: bde
|
#
70358 |
|
26-Dec-2000 |
will |
Fix for the case where the first two entries returned by readdir() are actually NOT '.' and '..'. Apparently this isn't the case when accessing a directory via XFS over NFS on SGI systems. Since I don't have access to an environment like that, this will sit out in -current for at least six weeks. However, the patch proposed by the submitter seems acceptable, so I've decided to commit it to the tree, in the hope that it will solve some problems without bringing up others.
PR: 23300 Submitted by: Jim Pirzyk <Jim.Pirzyk@disney.com>
|
#
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
|
#
62833 |
|
09-Jul-2000 |
wsanchez |
Use __RCSID()
|
#
51150 |
|
11-Sep-1999 |
hoek |
Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde)
|
#
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
|