Commit Graph

5724 Commits

Author SHA1 Message Date
joda
4929305fb3 when creating a v4 ticket file, name it after the users uid, not our
current (should finally fix bin/13040)
2002-02-20 08:17:17 +00:00
enami
2c0bf8440e Don't forget to fetch pool cache group. 2002-02-20 07:52:43 +00:00
enami
6af26372f1 When printing pool stats, print pool cache stats also if -v is given. 2002-02-20 07:43:30 +00:00
pk
3efeed43b5 Make{_}HandleUse(): update comments and layout, re-arrange to avoid some
code duplication.
2002-02-18 12:13:59 +00:00
pk
0b349f0680 Make_HandleUse() no longer has a return value, 2002-02-18 00:35:39 +00:00
pk
13a2e60c3c The use of OP_MARK in the MakeHandleUse() list callback function prevents
the removal of .USE nodes from a node's children list in case a given .USE
nodes appears multiple times on that list, preventing the target from ever
making it on the `to be made' queue.

Since the suffix rule processing code deals itself with removing the
transformation nodes from the parents to which it applies them, arrange
for doing the same for .USE nodes in MakeHandleUse() instead of in
Make_HandleUse(), and still use the OP_MARK stuff to avoid duplication
of commands.

Also, since Make_HandleUse() is not a list callback function and its
return value is no longer used, make its return type void.
2002-02-18 00:33:40 +00:00
pk
bf488acb77 Add the default main target to the ${.TARGETS} variable, too. 2002-02-17 23:53:46 +00:00
pk
24039928a5 Prevent a premature end of the iteration if the first element in the list
is removed from the callback function.
2002-02-17 23:49:01 +00:00
jonb
549323fedc Make the -v flag print data instead of blank lines. Thanks to
Duncan McEwan <duncan@mcs.vuw.ac.nz> for the hint in PR#15412.
I'll leave the rest of his patch for someone more familiar
with join to fix.
2002-02-14 03:21:07 +00:00
christos
35734831f9 reverse the notion of fancy, use plain, and increment it so that we can
have multiple levels of plainness. I want to be able to display syscalls
numerically, for that use -nn. This is not documented as it is an wip.
2002-02-12 22:22:37 +00:00
simonb
ba31699a83 Add an extra column for inode numbers, and pull back the mode field to
just 5 columns if in "numeric" mode.  Other fields should dynamically
resize, but not today...
2002-02-12 03:28:20 +00:00
pooka
69d4c677a2 bump version to nb6 after fixing bin/15474 2002-02-11 19:52:00 +00:00
thorpej
8eeabb6873 acorn32 and cats get fdformat. 2002-02-11 18:55:11 +00:00
wiz
89f6005c6b s/infinate/infinite/ 2002-02-11 11:00:07 +00:00
wiz
f78eb76cbe achive is not a good word. 2002-02-11 10:57:57 +00:00
wiz
573e59fb5c Lots of typos. 2002-02-11 00:57:58 +00:00
wiz
638f85ed29 Be more verbose in description of -e. 2002-02-10 16:46:44 +00:00
mrg
16189b5a23 - add a AUDIO_FORMAT_DEFAULT. use it. don't change functionity.
- fix the function selection in sunau conversions.

- be more verbose when given -V.  (hi lennart! :)
2002-02-10 15:30:53 +00:00
mrg
53ecceda8d apply the same fix as the previous to WAV output creation. 2002-02-10 13:23:27 +00:00
mrg
10d9e15ba0 convert the host (non _LE or _BE) encodings we can, as well. fixes part
of PR#12809...
2002-02-10 13:16:08 +00:00
mrg
9f1df20b86 define: datasize == 0 means use the whole file. fixes part of PR#12809. 2002-02-10 13:15:08 +00:00
pk
b2203a2983 Targ_PrintType(): include .PHONY and .MADE attributes. 2002-02-10 12:03:08 +00:00
pk
fa714e8390 Fix for previous: JobRestart() return value check was reversed. 2002-02-10 12:01:59 +00:00
pooka
bbd559bc7a Exit the file_init "recursion" only if we are actually already trying for
a second time. Checking for the plain temp filename was not enough,
as it may be set even though we are calling the function for the
first time.

fixes bin/15474 by Chuck Cranor
2002-02-09 19:33:53 +00:00
lukem
670a900e30 use ${INSTALL_FILE} as appropriate 2002-02-09 09:14:32 +00:00
pk
6c012e68f5 JobRestartJobs() should cease scheduling stopped jobs if the maximum
number of running jobs limit has been reached, otherwise an infinite
loop is the result.

Give JobStart() a return value to report this condition.
2002-02-08 17:44:23 +00:00
pk
c36b1263ac JobStart(): if there no commands to execute for a node, set its status
to MADE before calling Make_Update(). This is necessary to complete
all rules associated with sources on an .ORDER dependency.
2002-02-08 17:31:38 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
ross
ba8a357387 tweak the description of the n function 2002-02-08 01:20:15 +00:00
pk
d5e7cd89bf When making a node which is the source of both a .MADE target and a
normal target (the latter dependency being the reason why it's made),
the .MADE parent should not be put on the `toBeMade' list again (in
Make_Update()) since it was already put on it in Make_ExpandUse().
Doing so would cause the rules for the .MADE target to be executed
(at least) twice, and also mess up the unmade children count of _its_
parent, resulting in spurious graph cylce detection.

To achieve this, make sure the unmade children count of the .MADE target
is set to zero before enqueueing it on the `toBeMade' list in
Make_ExpandUse(). Then, in Make_Update(), check if the parent has the
.MADE attribute before diddling with the queue.

For the same reason the status of a node must not be set to UPTODATE
unconditionally in compat mode, since that will prevent the node from
being built even if it is the source of a normal target. Instead,
check both its state and the type of the parent to decide whether to
continue on behalf of the current parent.
2002-02-07 16:48:22 +00:00
ross
8ed9321304 Note that the `n' function does not restart the script. 2002-02-07 04:28:14 +00:00
ross
8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
pk
086b942780 Add tu' and tl' variable expansion modifiers, which transform the
value to uppercase and lowercase, respectively. From Kevin Neal from FreeBSD.
2002-02-06 16:26:12 +00:00
pk
86c078cb11 JobPrintCommand: avoid stale pointers on a node's command list.
The debugging value of the code that did this is limited, so drop it
altogether.
2002-02-06 16:20:25 +00:00
christos
285fe0ec7a Make sure that we set *objp back to the decoded argument; pointed by
by Ben Harris.
2002-02-06 02:23:45 +00:00
christos
22a842763e Deal with other sizeof() return issues. We usually cast it to u_int, because
this is what the rpc function argument passing expects, or use socklen_t
as appropriate...
2002-02-05 22:41:47 +00:00
christos
91caf38a2a - Cast pointer casts to (void *) first to shut-up lint
- Deal with variable size enums, by generating assignment to an enum_t variable.
- Use f_print everywhere instead of fprintf - when in Rome...
- I don't understand the value of the unexplained hack. Use IXDR_{U_,}INT32
  instead of IXDR_{U_,}LONG.

With those changes our generated librpcsvc files pass lint.
2002-02-05 22:05:42 +00:00
christos
ed811ba9a7 Don't spit out a trailing comma as the last member of an enum. 2002-02-05 22:03:01 +00:00
christos
0a8ad43664 cast ~0 to (u_int) because it is aimed at the size argument of the xdr function. 2002-02-05 22:02:15 +00:00
thorpej
b02b24b1d7 Replace u_quad_t with uint64_t and quad_t with int64_t, and use
<inttypes.h> to get those type definitions.  These types are more
portable, and a little more sane to do autoconf tests for.
2002-02-05 03:04:26 +00:00
augustss
b5d25cc57f Test for default device in a portable way. Thanks to Michael Ericsson
for spotting the problem.
2002-02-05 00:17:26 +00:00
christos
079762b2ef Remove OP_NOSUFF, fix OP_MADE in compat mode [from pk], and make the OP_MADE
comment reflect reality.
2002-02-04 17:24:56 +00:00
thorpej
b985fb5f23 Need <bsd.own.mk> to use ${MACHINE_CPU}. 2002-02-04 08:37:37 +00:00
thorpej
a53ece1b64 On m68000, we need different target parameters than on m68k,
because "long double" is a different size on m68000.
2002-02-04 00:18:32 +00:00
christos
d73f720df6 Bring down the number of stat(2) system calls from 682 to 294. This change
adds a .NOSUFF directive that has been applied to targets that have been
already made, and are not supposed to have suffix rules applied to them.
2002-02-03 21:41:44 +00:00
pk
f1ca4b0556 Resurrect revision 1.23: no need to stat .PHONY targets. 2002-02-03 20:08:30 +00:00
pk
58e7f3798e Don't bother to apply suffix rules to find sources for a target marked
as .MADE.
2002-02-03 19:58:15 +00:00
fair
8bd0f72b87 Text expanding the NLS abbreviation added per PR 14576. 2002-02-03 09:31:36 +00:00
jdolecek
ef0bbb2a55 Retire -C, do all the ioctls on same audio device we do i/o 2002-02-02 20:20:23 +00:00
veego
e2e1706f05 Ups, it is LIBUSBHID and not LIBUSBHIB. 2002-02-02 16:54:26 +00:00