Commit Graph

7678 Commits

Author SHA1 Message Date
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
christos
14c54c3327 Only allow BSIZE to 1^16 - 1:
- fix off by one error
    - limit the default from the filesystem
2002-12-11 21:20:15 +00:00
jdolecek
5fd22809a5 Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
scw
39a5a9dc76 Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
chris
5e606f5b98 Add a couple of missing THREAD_UNLOCK's, for the error exit path.
No functional change on Mainline, however SA branch probably needs this.
2002-12-09 14:14:59 +00:00
scw
94932a0f44 SH5 asm versions of some low-level libc routines.
Most of these copied from libkern.
2002-12-08 09:48:36 +00:00
jdolecek
015545ffb2 Add description of struct netconfig.
This adresses PR lib/18501 by Benedikt Meurer

While here, finish mdocifying of the manpage. There is no .B, .I, .SB
in mdoc, and some items were missing in output due to that.
2002-12-07 12:21:45 +00:00
christos
9ae526c1f6 Provide O_NOFOLLOW with compatibility with the joneses. 2002-12-06 22:39:54 +00:00
scw
699eeb228c The temporary asm trampoline code is no longer needed. 2002-12-06 17:06:06 +00:00
scw
098d74e947 Fix the alignment of the MD_SECTION_PROLOGUE. 2002-12-06 17:05:14 +00:00
jdc
b055b9db77 Correct cross references. 2002-12-05 19:13:12 +00:00
jdc
0bdde4e185 Add some (useful) debugging to wtouchln(). 2002-12-05 17:23:51 +00:00
jdc
ab39ef114a When copying a line from a window, only copy the changed part instead of
the whole line.
This fixes a bug when displaying displaying overlapping windows.
2002-12-05 17:22:13 +00:00
jdc
c5f3aee499 Mark lines on new windows unchanged.
Add window to __set_subwin() debug.
2002-12-05 17:14:34 +00:00
jdc
d899fbce8b Set LINES and COLS here so that __swflags() sets flags on the initial windows.
Remove no longer useful debug output.
2002-12-05 17:04:25 +00:00
scw
69cddf09e6 Avoid a strict-alias warning. 2002-12-05 16:03:42 +00:00
grant
5872a250a6 fix typo in comment. 2002-12-04 13:08:35 +00:00
jmmv
989484665d Replace "Fichero" words with "Archivo" that were missed in the last update.
Approved by skrll.
2002-12-04 10:18:19 +00:00
skrll
decf95c8e0 Improve and update from Julio Merino in PR 19202. 2002-12-04 09:39:33 +00:00
jdolecek
66f1feaba3 avoid endless loop in xgets() when line in host access conf file is longer
than BUFSIZ
fixes PR lib/15025 by Trevin Beattie
2002-12-02 22:08:44 +00:00
lukem
b1e79510cf - Migrate fparseln(3) from libutil to libc, where it should have been in
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
wiz
454f40b755 a <-> an fixes. 2002-11-29 19:19:39 +00:00
lukem
6ca5b5bb68 add strsuftoll(3) and strsuftollx(3) - parse a string for a number
with an optional suffix, product (two numbers separated by `x'), and
provide range checking
2002-11-29 12:58:14 +00:00
pk
3c107f4e1b Don't build normal and profile archives. 2002-11-27 12:06:10 +00:00