Commit Graph

11659 Commits

Author SHA1 Message Date
ginsbach
4b1228ffbe Improve the handling of quoted messages.
- warn about messages with an unexpected quote character
- warn about extra characters after a quote character
- warn about an unterminated quoted message
2012-03-09 18:54:28 +00:00
mbalmer
5cd43bc624 Remove the advertising clause and appease the eye a bit (still not good, but
better).  Almost no functional change.
2012-03-06 16:55:18 +00:00
mbalmer
40c86e8b4e Remove the advertising clause with the explicit ok from Perry E. Metzger. 2012-03-06 16:26:01 +00:00
njoly
4d5ade5119 Remove dead xrefs to obsolete kvm_mkdb(8). 2012-03-05 10:57:18 +00:00
wiz
c368f5db0b New sentence, new line. Wording. 2012-03-04 11:54:06 +00:00
dholland
62244ded10 Note in comment that Str_Match() does not detect or report invalid
patterns. This is not critical, since for the moment both possible
cases (unclosed [], and \ at the end of the string) are handled more
or less sanely.
2012-03-03 23:16:47 +00:00
matt
edf7bb773c remove extra " 2012-03-02 18:57:27 +00:00
matt
aea125ab81 fix typos from previous commit. 2012-03-02 18:55:16 +00:00
christos
2b01a8ad07 PR/46111: Wolfgang Stukenbrock: Add yp_setbindtries(3) so that yp operations
don't hang forever if requested.
2012-03-02 17:27:48 +00:00
matt
83aeaf7ea6 Need to cast to intrptr_t before casting a register_t to void * (since
register_t might be wider than a void *).
2012-03-02 16:17:22 +00:00
wiz
d47aeb29ac Use mdoc macros only. 2012-03-02 14:36:04 +00:00
mbalmer
d13b2dd8ad Add msg_printf(fmt, ...), a function to display raw messages without
going through the message catalog.
2012-03-02 14:27:48 +00:00
mbalmer
a4373e9a91 Removing trailing whitespace. 2012-03-02 13:11:57 +00:00
joerg
560b3ec5de Don't use non-literal format strings. Split it up depending on the
number of arguments used.
2012-02-29 23:37:07 +00:00
joerg
05959bffa3 Cast register_t to void * when printing with %p. 2012-02-29 23:35:49 +00:00
joerg
eb085c765d Pointer differences are generally not integers, so use %td here. 2012-02-29 23:35:10 +00:00
wiz
8668cbeef5 Sync usage with man page. From Bug Hunting in PR 46102. 2012-02-29 08:55:25 +00:00
wiz
040902799c Remove trailing whitespace. From Bug Hunting in PR 46102. 2012-02-29 08:54:55 +00:00
joerg
cdaeb35ee5 Mark sasprintf as using a printf-like format. Fix format string to use
all arguments by telling the user what file would be overwritten.
2012-02-28 22:30:44 +00:00
wiz
6e31cc7bbd Sort options in man page. Add EXIT STATUS section. Bump date.
Sync usage with man page.

Mostly from Bug Hunting in PR 46102.
2012-02-26 21:04:10 +00:00
apb
daa17451fe subtracting two pointers yields ptrdiff_t, so cast it to int. 2012-02-24 19:53:31 +00:00
apb
bb16246581 When given an URL that contains "://" but is not recognised,
print an error message.  Now "ftp https://foo/bar" prints

    ftp: Unsupported URL scheme `https'

instead of

    ftp: Can't lookup `https:ftp': No address associated with hostname
    ftp: Can't connect or login to host `https:?'
2012-02-24 19:40:49 +00:00
joerg
7a5b80bed9 Add explicit continue to empty loop body. 2012-02-24 16:03:39 +00:00
joerg
a625573ba2 while (...);
;
is really pointless, so remove the first semicolon.
2012-02-23 23:39:19 +00:00
joerg
70dcb9704f Don't use while-loop with empty body. 2012-02-23 22:57:53 +00:00
njoly
ac6da2a96c Now that window(1) is gone, use tmux(1) for xref. 2012-02-21 15:01:51 +00:00
rmind
9c3c596716 G/C VM_MAP_INTRSAFE flag 2012-02-19 02:47:53 +00:00
christos
f25b5b6cd8 this has not been used for ages. 2012-02-18 16:05:21 +00:00
wiz
86986a6435 Fix typo. Bump date for previous. 2012-02-17 11:43:24 +00:00
apb
f9135d4e36 The "-N" command line option means "include the terminating NUL byte",
so rename the corresponding flag from F_NO_NUL to F_INCLUDE_NUL to match
the behaviour.

This is the second half of the fix for PR 46035.
2012-02-17 11:37:33 +00:00
apb
5efc9deabf db(1) "-N" flag means "Include the NUL byte at the end of the key
or value".  (Previously, the description was reversed.)  Also expand
the description.

This is the first half of a fix for PR 46035.
2012-02-17 11:18:55 +00:00
matt
3dcb0b124a Avoid signed/unsigned comparision. 2012-02-17 08:28:36 +00:00
matt
02a2e7c81a MIPS uses a variable page size now.
(pulled up from matt-nb5-mips64)
2012-02-17 08:13:18 +00:00
matt
dfc6b54984 Let address/entry be 64bit if they are just sign-extended 32-bit values.
(change pulled up from matt-nb5-mips64).
2012-02-17 08:11:28 +00:00
skrll
d6c003a8de Correct LDOUBLE_SIZE 2012-02-16 16:27:15 +00:00
jmmv
7054f14003 Remove window(1).
window(1) was replaced by tmux(1) on March 2011.  The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached.  And the branching has just happened!
2012-02-16 04:52:47 +00:00
dholland
7da608ca9c Update dangling references to quotactl(2), mostly now libquota(3), and to
quotactl(8), mostly now quotarestore(8). ok riz@
2012-02-13 19:53:24 +00:00
christos
0cdb0b2663 PR/44889: Yamamoto Takashi: netstat -d option is broken (from Elad) 2012-02-12 19:11:33 +00:00
joerg
410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
dholland
430a952206 Remove unneeded #include. 2012-02-05 14:14:44 +00:00
sjg
367aa166aa Fix description of 'silent' in .MAKE.MODE
Also document 'env' in that context.
2012-02-03 21:39:25 +00:00
yamt
bfb50d59ee make the result stable.
releng@ ok
2012-02-03 05:06:08 +00:00
dholland
a577f74f5b libquota no longer requires libprop. Also remove some other no-longer-used
.PATH'd-in bits from repquota.
2012-02-01 17:53:01 +00:00
dholland
fb3f26c0cf Simplify elaborate calls to quota_check_limit(). 2012-02-01 17:48:10 +00:00
dholland
59b296daa7 Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
2012-02-01 05:34:38 +00:00
wiz
8599966dc6 Sync usage with man page. 2012-01-31 21:53:42 +00:00
christos
c966a89be8 PR/45897: Takahiro Kambe: Make default display < 80 characters and add -w flag
to display unlimited
2012-01-31 16:30:40 +00:00
dholland
bdf1946e25 Remove this material, which is no longer used. 2012-01-30 19:21:37 +00:00
dholland
cae8b79fca Remove unused include. 2012-01-30 16:46:30 +00:00
dholland
3db227b343 Remove stray p in identifier name. This has (as far as I can tell)
prevented quotacheck and other old-style quota bits from working since
last March. Use a correct declaration in the header file, so that if
something similar happens again affected programs will fail to link
instead of failing to work.

This kind of nonsense is why I like -Wl,-warn-common.
2012-01-30 06:14:43 +00:00