Commit Graph

5147 Commits

Author SHA1 Message Date
lukem
79c6c68dcc use mktemp(1) as appropriate 2001-06-18 12:07:32 +00:00
wiz
ccfe29f3cf Symmetric has one s and two m's. 2001-06-18 11:23:00 +00:00
lukem
c72849267d use mktemp(1) to safely create the temporary file.
fixes [security/12915] from David Sainty.
2001-06-18 11:10:25 +00:00
lukem
a4224d7f92 convert if ... else if ... tree to a switch 2001-06-17 08:27:57 +00:00
kleink
7902fe0dc9 Handle a labeled statement at the beginning of a function correctly;
from Nagae Hidetake <nagae@tk.airnet.ne.jp> in PR bin/12781.
2001-06-16 21:47:42 +00:00
jdolecek
28dbb7357f Add support for DTYPE_PIPE pipes (a.k.a NEW_PIPE) 2001-06-16 12:08:05 +00:00
wiz
4b1c5f37c5 On note by kleink: Add primes.5 to crypto/dist/ssh instead of share/man/man5. 2001-06-15 12:51:58 +00:00
kleink
361f8ca975 Add the -r flag to usage output. 2001-06-15 08:25:11 +00:00
kleink
d2fd431b8f The -r flag is applicable to the file1 -> file2 case, too. 2001-06-15 08:24:17 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
lukem
4e8c51f7aa when printing "avm fre" fields, use " %5ld %5ld " instead of "%6ld%6ld ",
because it's better to slightly right-shift the display than run numbers
together when you've got > 99999KB avm or fre.
2001-06-13 08:18:30 +00:00
itojun
1dca70a51b typo 2001-06-13 02:50:25 +00:00
sjg
e28cc22621 Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not
to export interator variables when using context VAR_CMD.

Reviewed: christos
2001-06-12 23:36:17 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
martin
71000126b0 The -v option actually is called -d.
Fixes PR 13168.
2001-06-11 11:29:22 +00:00
christos
815427002e Revert Job_CatchOutput() change; it adds a considerable delay to make, and
it is not clear what problem it is trying to fix.
2001-06-11 04:20:32 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
ad
75595a5abd Don't sleep before compressing if we didn't send a signal. 2001-06-10 12:06:35 +00:00
sjg
fc0df160d8 Simplify the exporting of VAR_CMD's via MAKEFLAGS.
We now just list the names of such variables in .MAKEOVERRIDES.
When we come to export MAKEFLAGS we quote the value of each exported variable
using :Q, using: ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
The :O:u suppresses duplicate names.
Also modifed Parse_DoVar to re-export MAKEFLAGS whenever .MAKEOVERRIDES
is assigned to so .MAKEOVERRIDES+= PATH will export PATH=${PATH:Q}
to the environment, while .MAKEOVERRIDES= will disable export of VAR_CMD's.
2001-06-10 02:31:00 +00:00
enami
0982d0ded2 Make this parallel make friendly. 2001-06-10 00:17:51 +00:00
sjg
e843d81502 Mention .MAKEOVERRIDES 2001-06-09 07:00:37 +00:00
sjg
d7c22ce2d7 Do a better job of duplicate suppression in .MAKEOVERRIDES.
From Var_Set: We actually want the equivalent of
.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
clearing the previous value for name is important, since
doing simple duplicate suppression does not handle:
$ make FOO=goo
which then runs a sub-make with FOO=boo
the commands from that sub-make should see just FOO=boo.
2001-06-09 05:57:31 +00:00
sjg
44372a7be4 Modify handling of command line variable assignments and their exporting
via MAKEFLAGS.  Instead of appending them directly to .MAKEFLAGS, put
them in .MAKEOVERRIDES (and ensure they are quoted).  This is now done
in Var_Set when it exports VAR_CMD's.
Use ExportMAKEFLAGS() to export MAKEFLAGS, using the combined content
of .MAKEFLAGS and .MAKEOVERRIDES (with duplicate supression).
If .MAKEFLAGS is assigned to in a Makefile, ExportMAKEFLAGS is called again.
This allows a line like:
.MAKEOVERRIDES=
to effectively stop the exporting of the command line vars in MAKEFLAGS.
2001-06-09 05:22:47 +00:00
sjg
80a2d65904 Provide a useful? MAKE_VERSION. 2001-06-09 05:17:51 +00:00
mrg
9a7e97f190 only warn about not writing the sun header once. PR#12809 2001-06-07 12:50:29 +00:00
mrg
3da5c0d664 fix bug in audiorecord -t handling. 2001-06-07 12:48:27 +00:00
wiz
ac402dba25 Fix nits, sort SEE ALSO. 2001-06-05 12:01:33 +00:00
wiz
800af334f2 Uppercase Dt argument, correct AUTHORS section name. 2001-06-05 11:57:40 +00:00
wiz
878e08cf00 Nits. 2001-06-05 11:56:28 +00:00
wiz
a428be00d5 Remove some unnecessary quotation marks. 2001-06-05 11:50:48 +00:00
wiz
daec95e631 Uppercase Dt argument, and two nits. 2001-06-05 11:49:04 +00:00
wiz
1375e0081d Minor fixes. 2001-06-05 11:40:04 +00:00
wiz
02233086ab Minor fixes. 2001-06-05 11:37:20 +00:00
wiz
48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
mrg
7276c20511 don't #define _LKM to work around header lossage; it is no longer necessary. 2001-06-05 09:20:12 +00:00
explorer
4b9b13c33f Perform variable expansion on sysv rhs patterns. That is, expand ${O} in: ${SRCS:.c=.${O}} 2001-06-05 06:00:39 +00:00
simonb
6a1c62c440 Update to bzip2 v1.0.1, building with reachover Makefiles to dist/bzip2.
Complete API change, library major bumped. *sigh*
2001-06-03 13:41:59 +00:00
christos
717b628383 move extern at a global scope. 2001-06-03 04:02:34 +00:00
sommerfeld
c60038a831 Avoid being overly specific since the unresolved merge conflict tags
we detect could have come from something other than cvs.
2001-06-02 18:04:44 +00:00
christos
45bc184ebb mention `cvs' in the the previous hack so that the clueless get a clue. 2001-06-02 16:17:08 +00:00
sommerfeld
f705156c1e Gratuitous make(1) hack of the morning: if operator-less lines start
with merge delimeters (<<<<<<, ======, >>>>>>), report "Makefile
contains unresolved merge conflict" rather than "Need an operator".
2001-06-02 14:25:23 +00:00
sjg
9cfd89292b A number of semi-related changes.
1. make -dx turns on DEBUG_SHELL which causes sh -x to be used where
   possible.
2. PrintOnError() is now called when make is stopping due to an error.
   This routine reports the curdir and the value of any variables listed
   in MAKE_PRINT_VAR_ON_ERROR.
3. Variables set via command line, are propagated to child-makes via
   MAKEFLAGS.  This behaviour appears to be necessary for POSIX (according
   to the GNU folk anyway).
4. Do not reset MAKEFILE when reading ".depend" as this rather eliminates the
   usefulness of ${MAKEFILE}.
5. Added ${.newline} as a simple means of being able to include \n in the
   result of a :@ loop expansion.
6. Set ${MAKE_VERSION} if defined.  Need to come up with a useful value.

Reviewed: christos
2001-06-01 20:33:37 +00:00
perry
1c06d95c62 new KNF style function declarations 2001-05-29 23:22:42 +00:00
kleink
5bec0209d9 Don't descend into catalog with MKSHARE=no. 2001-05-29 21:25:23 +00:00
kleink
042e6a7b90 Make this really work with MKSHARE=no. 2001-05-29 20:22:05 +00:00
christos
d0c243e9e5 better error messages on exec* failures. From Simon Burge. 2001-05-29 17:37:51 +00:00
lukem
704847f405 cleanup (prior to more adding more features):
- convert to ANSI KNF
- remove trailing whitespace
- translate some comments from german into english

code compiles and runs clean, and tested by running "make lint" against
xlint source using previous and this lint produces same results.
2001-05-28 12:40:37 +00:00
itojun
33f046d400 typo 2001-05-28 05:52:41 +00:00
assar
7aedc79d5e add `-s' that prints port numbers symbolically but addresses numerically 2001-05-28 04:22:55 +00:00
chs
1055c758b8 fall back to read() if mmap() returns an error. 2001-05-28 03:37:22 +00:00