Commit Graph

12411 Commits

Author SHA1 Message Date
mrg ebf7669ed7 implement "no ident". 2014-05-29 07:47:45 +00:00
jnemeth 88eea82455 Happy Towel Day! 2014-05-25 16:08:11 +00:00
dholland d8da1d6013 avoid error path SIGSEGV 2014-05-21 05:25:34 +00:00
sjg f45e7bfbd6 Var_Parse: endc only counts when at the correct nesting depth.
This ensures we correctly detect errors like:
.if empty(VAR && !empty(FOO)

Var_Subst: if Var_Parse returns var_Error it is an error.
This ensures we detect errors like:

VAR:= ${FOO.${GOO}
2014-05-19 22:09:58 +00:00
apb ba94e92b25 Add an example with find ... -exec sh -c .... 2014-05-17 11:31:40 +00:00
hannken 42c8d67c49 Add a global vnode cache:
- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.

On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair.  This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.

Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.

Remove now unused ufs/ufs_ihash

Discussed on tech-kern.

Welcome to 6.99.41
2014-05-08 08:21:53 +00:00
wiz 9237f38b59 Sort options in usage. 2014-05-05 21:04:09 +00:00
wiz 5f345558c9 Sort SYNOPSIS. Bump date for previous. 2014-05-05 20:52:45 +00:00
martin 1957b5eaba Add two new options, -U and -D, that can be used to define "makeoptions"
on the config command line. While there, rename the undocumented (internal)
parser debug option from -D to -d.
Discussed on tech-toolchain.
2014-05-05 19:08:13 +00:00
christos 6a4e46c891 Handle a closing brace at the end of a command without a preceding semi-colon:
/foo/ {p;d}
2014-05-05 17:12:11 +00:00
joerg cc89f7922a Most CPUs implement shifts modulo the width, but ARM doesn't. Don't
depend on this UB.
2014-04-30 21:04:58 +00:00
njoly 0f34420c1f Fix compat netbsd32 syscall return values display by calling
output_long() instead of printf().
2014-04-30 11:51:51 +00:00
christos f48bd7a250 need bsd.own.mk 2014-04-29 01:21:02 +00:00
christos 12014f31d7 use the same for the route metrics part, both in the sysctl and kmem paths.
From Takahiro HAYASHI
2014-04-28 15:41:15 +00:00
pooka 401f0b87d5 Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore. 2014-04-27 15:26:05 +00:00
christos 9bbbeef3e7 PR/48426: Dimitris Karagkasidis: Make nfsstat use unsigned numbers. 2014-04-24 18:40:35 +00:00
christos a2dd64f9b4 The sysctl code does not support verbose route printing that prints the
internal route statistics. Restore the old kmem route printing code that
was not just used for post-mortem displays. Reported by kardel@, test by
netstat -nrvf inet
2014-04-24 14:56:29 +00:00
christos 7cdbcec7f5 un __P 2014-04-24 14:54:51 +00:00
wiz 82cdf33b46 Bump date for previous. 2014-04-22 06:02:06 +00:00
ginsbach 236104be8e Add optional method for specifying protocol as part of the service
option.  This is similar to how the port number and protocol name are
specified in services(5).
2014-04-22 02:23:03 +00:00
christos e305f86ab5 add more attributes 2014-04-21 21:52:24 +00:00
christos 1be8982a73 add asm function renames 2014-04-21 18:57:20 +00:00
christos 39d78ca60c fix asm() misclassification 2014-04-21 18:57:07 +00:00
snj 1f0d8af3c5 Add 6.0.5 and 6.1.4. 2014-04-19 15:51:46 +00:00
christos 9b2bca8f70 add more places where attribute is valid. 2014-04-18 21:54:52 +00:00
christos 719ac47d5d provide a poor man's fmemopen() 2014-04-18 21:53:44 +00:00
christos f1ed7fe14d remove attribute keyword 2014-04-18 02:41:32 +00:00
christos 04a020c93e handle constant attribute 2014-04-18 02:41:17 +00:00
christos 0d1cbc6a00 don't include fmemopen in tools builds. Since tools does not define
_NETBSD_SOURCE, we don't get the fmemopen prototype
2014-04-18 02:17:14 +00:00
christos c8b1f28fd2 Never return the attribute keywords if we are not in attribute. 2014-04-18 01:39:57 +00:00
christos 1f0ca5f12c builtins only for NetBSD since fmemopen is not portable. 2014-04-18 01:18:54 +00:00
christos 31ce3096fd Add some builtins 2014-04-18 01:15:07 +00:00
christos 687432e7a3 Handle the rest of gcc __attribute__ s. 2014-04-18 00:23:46 +00:00
christos 59bbfbb11d only fill memory with junk if BLKDEBUG 2014-04-18 00:21:14 +00:00
christos a46cc2f317 handle LDOUBLE 2014-04-18 00:20:37 +00:00
christos 20ba703761 make outname print where it came from in case of error 2014-04-17 18:52:03 +00:00
christos 10e73b5c30 - add a function to dump a node
- better diagnostics on abort
- allow converting a constant
- initialize right node now that we trash memory this makes a difference.
  before it was NULL.
2014-04-17 18:23:18 +00:00
christos e34b25460d typeof and extension don't need parens 2014-04-17 17:29:24 +00:00
christos f87049800a Trash freed memory so we catch bad uses. 2014-04-17 16:30:05 +00:00
christos 8a20351779 Don't free memory; it is used later. 2014-04-17 16:29:26 +00:00
ginsbach 42bc9b7b73 Hook getaddrinfo(1) into the build. Hi riastradh! 2014-04-15 22:09:27 +00:00
snj fc99b6a4d6 Change some standard exit status text to ".Ex -std"
From Eitan Adler in PR bin/47790.
2014-04-13 01:45:34 +00:00
christos e9d34c2f4d mention -V none 2014-04-11 17:41:09 +00:00
christos 0b1777bf87 recognize -V none 2014-04-11 17:30:03 +00:00
dholland 1c111fd5cf typo in comment 2014-03-23 04:58:16 +00:00
pooka 3f0878753a On glibc systems, issue a warning if LD_DYNAMIC_WEAK is not 2014-03-21 16:26:30 +00:00
riastradh 5c1b7f4542 Clarify some wording in getaddrinfo.1. 2014-03-19 18:21:39 +00:00
ginsbach aa8e09363a Add missing include files. Don't rely on them bein pulled in as a
side effect of other includes.  Fixes build errors when getaddrinfo(1)
is added to the usr.bin tree.
- need <sys/socket.h> for address family (AF_*) and socket type (SOCK_*)
- need <stdio.h> for printf() and friends
2014-03-19 01:24:32 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
dholland c49e034e83 Fix gcc48 build. No obvious reason why nobody else has hit this... 2014-03-16 01:07:46 +00:00