Commit Graph

1771 Commits

Author SHA1 Message Date
drochner ae6fdb5ce4 rather than adding braces in the code, define the offending macro
to "(void)0". This is what similar code in bind9 (up to 9.5) does.
(native NetBSD code usually does "do { } while (/* CONSTCOND */ 0)"
in this case)
Anyway, I've checked the code, didn't find ambiguities due to
the empty statements, so the whole thing is harmless.
2010-01-26 19:11:00 +00:00
drochner 7393fe922a fix some cases where the EREPORT macro defined to null (as in the NetBSD
build) could change the behaviour of the code in unexpected ways
2010-01-25 20:33:57 +00:00
wiz bfc69b9f22 Add missing parentheses in ifdef(OLD_LEXER). Found by cppcheck. 2010-01-17 22:42:36 +00:00
mlelstv c96a848326 Use wide char versions of tolower/toupper/islower/isupper where
appropriate. Fixes ~ command on big-endian architectures.
2009-12-23 12:44:21 +00:00
mbalmer 8a65aabe5b Fix typo in command output. 2009-12-23 09:13:21 +00:00
ahoka 67bcc5b200 Remove the notice about pfsync not being supported, as we have it now. 2009-12-19 14:05:53 +00:00
kardel 142d831562 Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
kardel 8d09e35dad Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
martti 1a30996c87 Removed obsolete files. 2009-12-02 15:21:37 +00:00
martti 495b1f79b1 Initial version. 2009-12-02 15:07:09 +00:00
martti 77ad51d8d2 Initial version. 2009-12-01 06:27:57 +00:00
tnozaki b95326704e don't use pathname directly as msgq()'s first argument of format string. 2009-11-24 13:12:01 +00:00
christos 052751eb98 Better fix for PR/42320 by Takehiko NOZAKI. 2009-11-21 17:57:09 +00:00
christos 0e17d27172 PR/42320: Alexander Nasonov: According to:
http://www.opengroup.org/onlinepubs/7990989775/xcu/awk.html
the LC_NUMERIC decimal point recognized is always period. Make it so.
2009-11-15 21:56:06 +00:00
dsl b87a655a0d Fix all formats for 64bit builds 2009-11-15 18:43:28 +00:00
dsl 08ad4f398f Need %zu for size_t 2009-11-15 18:23:08 +00:00
christos 55e651517c one more printf like function, and fix the lossage. 2009-11-14 23:40:11 +00:00
christos 1070653ee5 Add a gcc printf attribute to the printf functions and fix the lossage caught. 2009-11-14 23:31:37 +00:00
tnozaki 6114d6b7fd fix format string bug, filename may contain % character, don't use it as format string. 2009-11-14 20:01:20 +00:00
snj 9251f9d10e Drop 3rd and 4th clauses, as the copyright holder (Michael Shalayeff) did
in OpenBSD revision 1.5.
2009-11-03 01:13:38 +00:00
joerg 68825f5128 Fix markup. Fix backslashes to surive roff. 2009-11-02 00:40:23 +00:00
dsl ba3675f1ae Fix regexp on LP64 systems.
By the time 'states1' was expanded, it became 'char *' so the code tried
to put 64 bits into an int!
Fixed PR/41924
2009-10-31 20:11:53 +00:00
dsl f4f40b1fe1 Save command in :w !<command> for later :w !!
Fixes PR/8169
2009-10-31 14:30:55 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
joerg de3dbb6818 Garbage collect left-overs, iscsi moved to src/external/bsd/iscsi. 2009-10-24 20:07:48 +00:00
joerg 3f2534b357 Use actual comments to comment blocks and don't leave empty lines in the
output.
2009-10-21 22:56:56 +00:00
tnn e0331d273d Print a warning if TERM is not set and stdin is a tty. PR bin/42144. 2009-10-20 16:17:07 +00:00
rmind 993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
snj 9c801b488e This hasn't been used in a while. Long live external/bsd/file! 2009-10-17 23:05:32 +00:00
joerg 2d19820108 Kill bad tab in markup. 2009-10-15 02:18:22 +00:00
joerg 18654546a6 Fix markup. 2009-10-15 00:16:28 +00:00
joerg 98ae2d6073 Do not use .Xo/.Xc to workaround ancient groff limits. 2009-10-14 17:44:25 +00:00
joerg 3f3c419d37 Fix markup. 2009-10-14 17:35:41 +00:00
pooka 4be222467f fix prototypes of function pointers to varargs syscalls 2009-10-13 22:04:31 +00:00
joerg 3c1f1e4f21 .Xr takes two arguments only. 2009-10-04 18:07:26 +00:00
bouyer 31c07c3453 Fix pcap_lookupnet(): reset ifr before SIOCGIFNETMASK. Without it we get
back a bogus netmask.
2009-09-29 19:00:45 +00:00
he 1a0a5901b1 Print an explicit 64-bit type with %PRIu64, not with %llu, so that
this builds on our LP64 ports as well.
2009-09-14 15:18:15 +00:00
degroote 33e10c238e Improve the pfsync(4) man page
hostname.if(5) is ifconfig.if(5) on NetBSD
Don't speak about enc, as we don't support it at the moment
Make clear that we don't support ipsec protection of pfsync traffic (as long we
doesn't support enc, or similar thing)

Catched by wiz@
2009-09-14 11:45:01 +00:00
wiz f41e8ac844 <>& -> \*[Lt]\*[Gt]\*[Am]
Bump date for pfsync(4) link.
2009-09-14 11:17:49 +00:00
wiz f8b0915e76 Fix Dd argument. 2009-09-14 11:17:42 +00:00
degroote 2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
wiz 136eb7e035 We install this as tcpdump(8), so the internal name should be (8) as well.
Fix it. From Jukka Ruohonen.
2009-09-10 15:02:49 +00:00
wiz 177b015b5d Remove references to securelevel(7) and ssl(8), which don't exist.
From Jukka Ruohonen.
2009-09-10 13:17:39 +00:00
pooka 0a69bf315a Fill canon_dev so that mntfromname gets properly set for p2k mounts.
Fixes problem pointed out by Nicolas Joly.

XXX: would probably be better to forget canon_dev from the parseargs
interface completely and do rump_sys_statvfs() in p2k after mounting
the fail system in the virtual kernel.
2009-09-07 13:52:05 +00:00
pooka 7fa79282e3 kill #ifndef __NetBSD code (yea, I assume it meant __NetBSD__) 2009-09-06 20:07:03 +00:00
pooka f9d2118130 Implement smbfs kernel operations (ioctl etc.) through a vector of
function pointers instead of direct linkage so that rump syscalls
are possible.
2009-09-06 18:38:17 +00:00
pooka 6ad3a66ac7 Don't use select() to wait for a single socket, just set SO_RECVTIMEO. 2009-09-06 17:02:36 +00:00
pooka 4f4e18947d Make mount_smbfs follow the standard MOUNT_NOMAIN and parseargs() structure.
(yes, this is dist, but considering the last and only import from
upstream was 7 years ago, I'm not exactly worried this will make
importing future versions harder)
2009-09-04 18:22:37 +00:00
tnozaki 3b1fe73ae9 fix bin/41781, the pattern /\$/ doesn't match a dollar sign anymore by default. 2009-08-30 14:57:51 +00:00
joerg af33c2556a Duplicate .TP. 2009-08-22 00:20:50 +00:00