sevan
39bbc68a3b
Drop main() prototype.
2016-09-05 00:40:28 +00:00
christos
1d13ed3d99
ignore the abiflags section
2016-09-03 11:35:24 +00:00
dholland
ab2acfdda8
storage class first, *then* __dead
2016-09-03 06:00:32 +00:00
dholland
eb640195f5
simplify __dead usage
2016-09-03 05:58:30 +00:00
dholland
0a533596ca
__dead should come first; also remove more K&Risms.
2016-09-03 05:56:59 +00:00
dholland
e7afde8f0f
simplify __dead usage
2016-09-03 05:50:06 +00:00
sevan
f237858c5d
Remove K&R __P macros.
...
Remove main() function prototype if present.
Mark usage() as __dead if not already.
Binaries generated with & without these patches were compared with diff -r.
2016-09-03 02:24:04 +00:00
dholland
7f48560292
Document .DELETE_ON_ERROR.
2016-08-26 23:37:54 +00:00
dholland
9d33465685
Add a .DELETE_ON_ERROR: magic target that causes *failed* targets as
...
well as *interrupted* targets to be deleted. The name and behavior of
the variable matches gmake.
Also fix a glitch in newline output on error in compat mode that I
discovered while doing it.
Closes PR 51376.
2016-08-26 23:28:39 +00:00
christos
c634867ea2
compute anonymous bitfield sizes properly.
2016-08-23 16:42:55 +00:00
sevan
b99eec368e
Add AUTHORS section
...
bump date
2016-08-22 00:15:59 +00:00
christos
b8f79638e1
Don't warn about empty structs twice.
2016-08-19 11:51:27 +00:00
christos
175128e719
be less aggressive in clearing blocks to protect against:
...
int
main(int argc, char *argv[])
{
int rv;
if ((rv = ({ int _ret = 1; if (argc == 1) {} _ret; })) != 0)
printf("%d\n", rv);
return 0;
}
2016-08-19 10:58:15 +00:00
christos
ab22712dbd
Add union casts.
2016-08-19 10:19:45 +00:00
christos
c6347f3a1e
add a type comparison function.
2016-08-19 10:18:11 +00:00
sevan
fbe5805edc
seq(1) first appeared in Research Unix 8th Edition, which was before Plan 9.
...
Generalise in stating that this version is not bug for bug compatible with other
implementations.
Bump date.
Via FreeBSD bug 181390 with feedback from Warren Block.
2016-08-18 22:55:28 +00:00
wiz
e20c5869bb
Whitespace.
2016-08-18 19:23:20 +00:00
christos
9acbaa9544
- handle sizes of structs/unions with anon members
...
- handle structs/unions with only anon members
2016-08-18 14:43:31 +00:00
christos
9c8f3871d5
anonymous members are C9X
2016-08-18 14:42:48 +00:00
mrg
4ffdae42fa
don't hide _DEV_IC_BT8XX_H_ inside DTRACE.
2016-08-18 08:02:58 +00:00
sjg
2e603a118c
Refactor the handling of .MAKE.META.IGNORE_* to meta_ignore()
...
so that we can call it before adding paths to missingFiles.
Ie. do not track files we have been told to ignore.
2016-08-17 15:52:42 +00:00
sjg
69fc18aad5
Add .MAKE.META.IGNORE_FILTER to allow more complicated filtering of filemon data.
...
The filter is applied to paths Read or Excuted, and if it expands to
nothing, the entry is skipped.
For example; dirdeps.mk can set this to:
.MAKE.META.IGNORE_FILTER = M*/${.MAKE.DEPENDFILE_PREFIX}*
when checking if DIRDEPS_CACHE is up to date, where only Makefile.depend*
are of interest.
2016-08-15 19:20:17 +00:00
sjg
53f61e0d2c
PR: 51405
...
Description:
addErrorCMD: in compat mode, cmdp may be NULL, skip it
and stop the calls (return 1).
2016-08-11 19:53:17 +00:00
sjg
374771b4a4
Set .ERROR_CMD if we can
2016-08-10 23:49:12 +00:00
sjg
929a26a3de
Use Lst_FindFrom and Lst_Succ(ln) to find next entry in missingFiles.
2016-08-10 18:49:40 +00:00
sjg
c2d73114d1
Linux filemon only records D some/dir for rm -rf
...
rather than D entries for each file removed.
Thus we need a loop to remove all matching missingFiles entries
2016-08-10 18:25:00 +00:00
christos
6a9ab0dd0e
Bump version for -no
2016-08-07 21:11:55 +00:00
christos
f138f6c50d
Accept "-no" as a "no" that does not cause errors if the object deleted
...
does not exist.
2016-08-07 10:37:24 +00:00
christos
b31382fbd7
Avoid string gymnastics in an olympic year.
2016-08-05 07:22:17 +00:00
jakllsch
ccf7078d06
Make this build with clang:
...
- Remove unused static const variables
- Adjust impossibleish comparision.
2016-08-04 12:56:31 +00:00
wiz
4ff383b44d
Bump date for new ifstat command.
2016-08-03 13:09:43 +00:00
maya
519ca6e803
Do globbing for FTP URLs of the form ftp://... too
...
ok christos
2016-08-03 12:33:56 +00:00
scole
6f3aa0fcd4
Add $NetBSD$ tag for new files
2016-08-02 17:53:46 +00:00
scole
bd7662dc4d
PR bin/51204
...
Add ifstat command to systat.
Imported from FreeBSD
2016-08-02 15:56:09 +00:00
dholland
cf12c76a8b
Don't allow initializers of the form { .a = .b = expr } as this is not
...
valid. Helps a bit with PR 22500.
2016-07-31 22:38:04 +00:00
dholland
096da17405
typo in comment
2016-07-31 22:36:53 +00:00
christos
c351e21641
accept attributes in param decls
2016-07-20 18:14:12 +00:00
christos
29a071ed18
handle "extern __attribute__((__gnu_inline__)) __inline"
2016-07-20 17:42:14 +00:00
maya
bd2a0d0ca6
Don't reference older CFATTACH_DECL
2016-07-19 17:01:04 +00:00
pgoyette
e8f1cd85e9
Only emit bdevsw externs for entries in the bdev table, rather than for
...
entries in the cdev table.
2016-07-16 07:13:26 +00:00
christos
b305547c0c
more XXX removal.
2016-07-14 20:38:20 +00:00
christos
1584c6d3ed
XXX: removal
2016-07-14 20:34:36 +00:00
christos
fb3d963d14
remove soft interrupt queues that don't exist anymore.
2016-07-14 20:13:10 +00:00
christos
bb9aed0669
remove __P
2016-07-14 19:39:41 +00:00
christos
cfa835e475
dedup
2016-07-14 18:58:26 +00:00
christos
21c3ca2d5c
use sysctl to print multicast addresses
2016-07-14 18:19:11 +00:00
christos
143eb5c5cf
fix sysctl based interface printing, and annotate where we should add the
...
missing multicast printing code.
2016-07-13 22:01:12 +00:00
christos
543b506e7c
Use sysctl for interface printing (-i), leave on for multicast address printing
...
(-ia) and comment in the code where this is missing?
XXX: should that be an ioctl or sysctl? provide getifmultiaddrs() via the
routing socket? I guess since this is just for netstat a simple sysctl or
ioctl would suffice. I lean towards sysctl.
2016-07-13 21:57:01 +00:00
shm
3d9e7389b4
Add USE_FORT support.
2016-07-13 13:10:04 +00:00
dholland
bb1c83042f
PR 51298 David Binderman: simplify redundant conditionals
2016-06-30 15:34:30 +00:00