Commit Graph

4201 Commits

Author SHA1 Message Date
is ef7b92db6a Build on m68k and powerpc: needed for amigappc kernel with old boot loader. 2000-05-21 06:48:08 +00:00
itojun 92e7c0931d s/icmp/icmp6/ in message 2000-05-17 11:54:48 +00:00
fair 69de15b2b2 Remove documentation of bogus "-t" option, per PR 10036. 2000-05-17 09:49:32 +00:00
soren 0abc97dcd7 Comment out RCS ID. 2000-05-14 23:28:43 +00:00
christos 5d9fa0390d Resolve conflicts 2000-05-14 22:53:37 +00:00
christos 0bb263b436 new file 3.31 2000-05-14 22:44:21 +00:00
sjg 489a59f8c6 Expand variables that appear in a [No]Match pattern. Allows
[ x${DONE:M${.TARGET}} != x ] || blah
2000-05-14 15:14:41 +00:00
itojun 643a3cfae1 recover old error message on unknown service ("telnet localhost foo"
when foo is not valid).  gai_strerror may be too generic.
fix suggested in openbsd camp.
2000-05-13 03:13:59 +00:00
sjg 214b560694 allow .POSIX to define %POSIX as in FreeBSD 2000-05-11 08:22:40 +00:00
sjg edfc5b4270 Expand variables in variable name passed to Var_Set and Var_Append.
This allows ${FOO}.bar=fubar etc to work.
This does not impact any Makefiles in the current tree but allows
some cool magic (which I need elsewhere).
2000-05-11 07:43:42 +00:00
sjg 0051977fda Pass ctxt along to VarLoopExpand so that local variables such as .TARGET
can be expanded.
2000-05-11 03:32:56 +00:00
jdolecek 03cdaf03c9 Add some examples of usage. Modelled after what is in Solaris manpage,
though no text has been actually copied from there (for legal reasons).
2000-05-10 19:04:36 +00:00
sjg 82abb388a6 Revert to the original behaviour wrt sysIncPath, ie if sysIncPath
is an empty list, use DEFSYSPATH.
The current behaviour may have been useful when DEFSYSMK was an
absolute path (hasn't been the case since 1996), but right now
make -m /no/such/dir will fail to find sys.mk and die.
2000-05-10 07:49:35 +00:00
simonb 659b78955d Don't need local extern declaration of strtouq() - it's in <stdlib.h>. 2000-05-10 05:09:17 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
tv 8676e4b69a Add -P to the usage message (forgot this, long ago). 2000-05-08 00:52:18 +00:00
mycroft d14de3b0e1 __sparc -> __sparc__ 2000-05-07 18:16:51 +00:00
mycroft 73816a58f3 Do not count the end of a line in the bigram table. Newlines are stripped
before coding anyway, and the bigram output was screwing up (and often
pessimising) the table.
2000-05-06 10:26:45 +00:00
mycroft e8509e9145 Adjust the previous change to not generate garbage databases. 2000-05-06 10:02:06 +00:00
itojun 6bb623fa65 sync with sendmail path change (/etc/aliases -> /etc/mail/aliases) 2000-05-05 18:21:06 +00:00
drochner df45d3b6cf support OSF/1 2000-05-04 18:29:53 +00:00
drochner 6d10baf050 conditionalize prototypes for REMOTE support
(seems that REMOTE support is incomplete anyway)
2000-05-04 18:29:12 +00:00
drochner e1710a32d6 make cleaner C for more picky compilers 2000-05-04 18:27:53 +00:00
lukem 2c9a4cf5d0 convert to ANSI KNF 2000-05-01 10:35:16 +00:00
lukem d16e624b57 * Add support for `fget localfile', which reads a list of filenames to
retrieve from localfile.  Based on work by Darren Reed.
* Crank version.
* Update copyright dates.
2000-05-01 09:44:53 +00:00
mycroft e29ea15050 Always wrap the bigram string in double quotes, in case it contains spaces.
Some other trivial cleanup.
2000-04-29 21:41:19 +00:00
sjg 5fe132c5cb Added the :U :D :L :P :! and :@ modifiers as used by ODE make.
These allow some very useful magic in the makefiles.
The comment in var.c describing their behaviour is mostly lifted
from ODE make, but the implementation of the modifiers themselves
is quite different (much simpler) due to divergence of our code base.
2000-04-29 12:18:52 +00:00
sjg 6f4163b60c Allow MAKESYSPATH in the environment to override the default syspath. 2000-04-29 12:15:16 +00:00
matt 0c28135c93 fix SHOW to work on any platform 2000-04-29 04:36:16 +00:00
thorpej 20a1abdaef u_quad_t must be cast to (long long) to be printed with %llu. 2000-04-27 21:40:41 +00:00
mycroft 2d75f971b4 Eliminate a bunch of terminal hackage that we do not need. 2000-04-27 16:48:42 +00:00
jdc d6d7f0531f Fix arguments to *printw(). 2000-04-27 00:30:51 +00:00
tron 7a721a2672 Prevent "kdump" from causing a segmentation fault if the io buffer that
it's printing to stdout ends on a page boundary. Patch supplied by
Andrew Brown in PR bin/9983.
2000-04-26 16:05:37 +00:00
thorpej bb06f77483 Print the zero page statistics. 2000-04-24 17:40:31 +00:00
itojun f70ccb3744 allow IPv6 extended numeric address in host part.
(draft-ietf-ipngwg-scopedaddr-format-01.txt)
fixes PR 9616.
2000-04-24 05:59:39 +00:00
mjl 23d5769e34 Correct wrong variable being tested in env parsing loop. Fixes
OpenBSD PR/1206.
2000-04-23 18:11:21 +00:00
thorpej 0687dad67e Make this work again now that curses no longer does an implicit tgetent()
via initscr() by calling t_getstr() with curses' internal terminal info
initialized in setterm() (which is called by initscr()).

XXX THIS IS A HORRIBLE KLUDGE!  ...and I'm almost embarassed to commit it.
XXX It really should be fixed by using normal curses facilities.
2000-04-22 21:34:25 +00:00
jdolecek 5ab45b31f7 Convert updatedb script from C-shell to bourne shell. 2000-04-20 15:40:28 +00:00
sjg 0828d668af Changes to make MAKEOBJDIRPREFIX useful.
Firstly, we ignore getenv("PWD") if MAKEOBJDIRPREFIX is set so that we always
get the same value for .CURDIR regardless of how make was invoked.

Second, when executing a command we check if it is ${.MAKE} or ${.MAKE:T}
without a preceeding chdir, if so we insert a chdir(${.CURDIR}) so that
the Makefile will be found by the child make.  Note that this behaviour is
dissabled if MAKEOBJDIRPREFIX is not set or if NOCHECKMAKECHDIR is set.
See the comments in main.c for more detail.

With these two changes, one can successfully build usr/src using MAKEOBJDIRPREFIX
allowing the src to be mounted from a CD-ROM.
2000-04-20 11:23:25 +00:00
simonb 818b86118e We have _SC_2_C_BIND now, enable POSIX2_C_BIND. 2000-04-20 00:41:20 +00:00
enami 7e18584b57 Define members previously defined as u_long in struct iftot as u_quad_t.
Since these members are used to hold members defined now as u_quad_t
in struct if_data, u_long is quite not enough actually.
Without this, one night ttcp easily makes netstat to produce wrong output
like this:
enami@annex-2f-floor-244% netstat -ibw 1 -I tlp0
   tlp0 in            tlp0 out          total in           total out
     bytes               bytes             bytes               bytes
176333740607          176914940420         240082591           821282404
176093659136          176093659136                 0                   0
176093659136          176093659136                 0                   0
2000-04-19 03:26:55 +00:00
simonb ae62335eb5 Buf_GetAll() takes an int *, not a size_t *.
Build failure on alpha reported by Tim Rightnour on current-users.
2000-04-18 03:46:41 +00:00
christos 94c2d86134 Don't type && when you mean || (pointed out by David Holland) 2000-04-17 14:59:02 +00:00
mrg a6f7a7855f implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
christos 13a6d6acf1 PR/9898: David Holland: small glitch in var substitution for single letter
variables.
2000-04-16 23:35:16 +00:00
christos a4760ab7d0 prefix errors with the program name. 2000-04-16 23:24:23 +00:00
christos c097e3c5c2 Don't core-dump when the current working directory is not readable 2000-04-16 23:24:04 +00:00
christos c407ec1982 PR/9899: David A. Holland: multi-variable .for constructs in make 2000-04-16 22:08:06 +00:00
mrg d0ba087720 kill trailing blank line. 2000-04-16 04:57:55 +00:00
mrg 43aefadca4 reword slightly. 2000-04-15 18:11:00 +00:00