Commit Graph

7701 Commits

Author SHA1 Message Date
sommerfeld 8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
kristerw a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
wiz 617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
wiz 1388941754 free's -> frees, from PR 19652. 2003-01-04 00:40:20 +00:00
wiz 6ff5d1b485 Use \-1 instead of -1. 2003-01-03 23:01:01 +00:00
mjl 71b7c0b242 Fix typos (from PR 19650) 2003-01-03 21:41:28 +00:00
mjl 8f505f5b3b repsonse -> response (from PR 19649) 2003-01-03 21:34:49 +00:00
pooka 77c102d728 add missing " 2003-01-03 12:50:44 +00:00
pooka 606c1fd1c5 pcap_next() returns a const u_char* 2003-01-02 15:43:15 +00:00
wiz e3594b05a2 Drop trailing spaces; sort SEE ALSO. 2003-01-02 09:39:34 +00:00
wiz e2c6da385c Drop trailing spaces. 2003-01-02 09:38:34 +00:00
jschauma 432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
jschauma 708eed1953 Fix typos pointed out by Igor Sobrado in PR misc/19632
rpc(3)             - addres (address)
rpc_reg(3)         - truct (struct, in struct rpc_msg)
rpcb_getaddr(3)    - Copyright: Sun Microsystems (not Microsystem's)
			All Rights Reserved (not Right's)
2003-01-01 22:24:29 +00:00
jschauma ba40d7ee64 Fix tyops pointed out by Igor Sobrado in PR misc/19627
openssl_rand(1)     - generater (generator?)
openssl_req(1)      - stateOrPrivinceName (stateOrProvinceName),
			eg. (e.g., Latin exempli gratia)
openssl_rsa(1)      - thse (these, perhaps those)
openssl_s_client(1) - implicitely (implicitly),
			renegociated (renegotiated)
openssl_x509(1)     - beginnging (beginning, whow!),
			repesents (represents)
2003-01-01 21:43:13 +00:00
yamt a7e4d902d4 - handle s==NULL case of wcrtomb.
- add a comment about it.

fix rest of PR 18269 by wurlitzer.
2003-01-01 15:57:12 +00:00
yamt 6a7521b053 - add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.
2003-01-01 15:25:54 +00:00
yamt 13820b1f52 - add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.
2003-01-01 15:04:01 +00:00
yamt 26baecb89a in _RESTART_BEGIN macro, don't use external variable directly. 2003-01-01 14:45:13 +00:00
yamt 1e35b17a10 when s==0, wctomb should initialize its internal state and return if
encodings have state dependency or not.

a patch provided with PR 18269 by wurlitzer.
modified by me.

fix part of PR 18269.
2003-01-01 14:34:27 +00:00
yamt dec2654840 mbsrtowcs_priv template:
n == 0 is not an error. it's a valid input.
_citrus_NONE_ctype_mbsrtowcs:
	fix a typo that causes SEGV.

while i'm here, make them similar each other.

fix PR 19620.
2003-01-01 13:29:45 +00:00
sommerfeld 2a819818a1 In EINTR description, add a crossreference to sigaction(2).
Put reference to "slow device" back in since filesystem & disk I/O, doesn't get
EINTR while pipes, sockets, ttys, etc., can.
2002-12-30 12:38:59 +00:00
grant 9fdbbfc8ba add EINTR.
From Kevin P. Neal in PR bin/19402.
2002-12-30 05:45:41 +00:00
grant 43fecd8fa4 clarify EINTR.
From Kevin P. Neal in PR misc/19603.
2002-12-30 05:42:18 +00:00
lukem 0beaa38406 If we're going to replace strtok() with strtok_r(), and the caller of the
latter is invoked recursively, use static (instead of automatic) storage
for the "last" pointer so that we remember where we're up to ...

Fixes bug with hosts.deny rules such as "rpcbind: ALL EXCEPT some.domain".
2002-12-26 12:53:59 +00:00
uebayasi 1e0907fb9a Typos in comments. 2002-12-26 07:58:19 +00:00
jdc a2a5a0d169 Add curses pad manual pages.
Forgot to commit this.  Pointed out by wiz.
2002-12-24 07:36:32 +00:00
wiz d31e57413f Remove trailing whitespace and a superfluous Pp, and end a sentence with a dot. 2002-12-23 12:48:12 +00:00
jdc 3599e38c2b Document pad-related functions - newpad(), subpad(), prefresh() and
pnoutrefresh().
2002-12-23 12:27:43 +00:00
jdc d06ae12fb5 Bump minor to 4 (pads support). 2002-12-23 12:26:55 +00:00
jdc 02559eb653 Always update the change pointers. Otherwise, we could end up not
displaying 'blank' characters when overlapping windows are displayed.
(Exposed by changes in revision 1.49 of refresh.c.)
2002-12-23 12:26:07 +00:00
jdc 4b9cace222 Handle function argument changes to __newwin().
Don't call clearok() for new windows in newterm() - it caused a screen erase
on the first refresh() of the window.
2002-12-23 12:25:10 +00:00
wiz 514c6fd187 Sort SEE ALSO. 2002-12-23 12:19:48 +00:00
jdc 4a4560b0f4 Only reset flags if the "window" is not a pad. 2002-12-23 12:18:53 +00:00
jdc f8b5b67351 Add pnoutrefresh() and prefresh().
Modify _cursesi_wnoutrefresh() to handle pads.
2002-12-23 12:17:55 +00:00
jdc c1d36848fe Add newpad() and subpad().
Modify __makenew(), __newwin() and __subwin() to handle pads.
2002-12-23 12:17:03 +00:00
jdc 75f0ed7c22 Reference curses_pad(3). 2002-12-23 12:16:10 +00:00
jdc c18be873d1 Changes for pad support - changed function signatures and _ISPAD flag. 2002-12-23 12:15:04 +00:00
jdc 92a6b6d62d Add entries for newpad(), subpad(), prefresh() and pnoutrefresh(). 2002-12-23 12:13:44 +00:00
jdc 6d51b9fd23 Add descriptions for newpad(), subpad(), prefresh() and pnoutrefresh(). 2002-12-23 12:12:45 +00:00
jdc 2467ead4d8 Increase default delay when assembling key sequences. This seems to
eliminate the occasional non-recognition of key sequences over remote
connections.
Okayed by blymn.
2002-12-23 12:11:38 +00:00
wiz 1b3497f4e1 Sync with other libutil man pages. 2002-12-22 02:19:15 +00:00
kleink ac7290d7c2 Add a sysconf(3) knob for {ATEXIT_MAX}. 2002-12-19 23:31:54 +00:00
hannken 9417652b46 Add support for VLAN (IEEE 802.1Q) frames.
Built after libpcap-0.7 from tcpdump-3.7.1.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2002-12-19 16:33:47 +00:00
wiz 2e0828a8a8 Misc fixes. 2002-12-18 20:21:11 +00:00
wiz 09f7a7aee7 new sentence, new line. 2002-12-18 20:17:43 +00:00
wiz 90ad988049 exec lives in section 3, not 2. 2002-12-18 20:13:06 +00:00
wiz 667e9783e6 Fn arguments do not need (empty) braces. 2002-12-18 19:34:53 +00:00
fvdl 50683c0ce9 The fast syscall path clobbers 2 registers. Which is fine for a plain
system call, as long as the stub knows about it. However, it's bad
for sigreturn. Hence, use the old entry point for sigreturn. XXX
2002-12-13 17:43:02 +00:00
scw 4f0fde8807 Bump minor number for getlabel{sector,offset}() addition. 2002-12-12 09:46:49 +00:00
scw 0c83fd4944 Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
2002-12-12 09:45:32 +00:00