Commit Graph

6045 Commits

Author SHA1 Message Date
jdolecek 2a2ea948de Add a note this appeared in NetBSD 1.6. Pointed out on current-users@
by Geoff Wing.
2001-04-09 09:29:54 +00:00
kleink 7be2be4b36 No need for <sys/types.h>. 2001-04-07 16:14:44 +00:00
kleink d8fe668b8f Add a LIBRARY section. 2001-04-07 16:13:32 +00:00
simonb ea5c187922 xref kvm_open. 2001-04-06 14:37:27 +00:00
wiz b1593d9814 Add getbootfile(3) to libutil, and a man page.
Bump libutil version to 5.5.
2001-04-06 14:31:14 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun 39e1f5e4ef description for "discard" was missing. sync with kame 2001-04-06 07:04:31 +00:00
blymn 47eb37d515 * Fixed horizontal scrolling. 2001-04-06 05:24:59 +00:00
blymn a773c5b773 * Fix horizontal scrolling
* Fix cursor positioning at the end of a static field
* Fix the end field request handler.
2001-04-06 05:03:22 +00:00
blymn ab600f6ad4 * Fixes for horizontal scrolling
* Character is added to the destination field in auto-skip mode when
  a new field is skipped to.
2001-04-06 04:40:43 +00:00
christos 4331e2615e Fix sentinel for the buffer in globtilde. It was off by x 2. Noted by Theo. 2001-04-03 14:50:37 +00:00
jhawk 404ef082e4 Xr printf(9) 2001-04-03 13:59:22 +00:00
wiz 2c7d48475b mdoc'ify. With a tip of the hat to kleink. 2001-04-02 21:26:21 +00:00
wiz b37c366b3f Improve some markup. 2001-04-02 20:49:57 +00:00
wiz 3a3aafcf17 Fix format typo, and whitespace. 2001-04-02 20:48:38 +00:00
wiz caeeeac59d End sentence with a dot. 2001-04-02 18:29:49 +00:00
wiz feb5cd7b0b Remove trailing space from comment line. 2001-04-02 18:27:13 +00:00
wiz 6b5ab77765 fo -> for 2001-04-02 18:25:34 +00:00
tshiozak 9d67eaba15 Remove UTF-2. UTF-2 is superceded by UTF-8. 2001-04-01 17:45:39 +00:00
tshiozak 0c95c16c79 Remove UTF-2. UTF-2 is superceded by UTF-8.
see also:
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0000.html
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0001.html
http://mail-index.netbsd.org/tech-userlevel/2001/03/30/0002.html
2001-04-01 17:43:07 +00:00
kleink d665068674 Emit a link warning for the old timezone() interface; from Nick Hudson. 2001-03-31 19:13:00 +00:00
kleink cd11a7a9fa Add a daylight(3) link as well. XXX Can't link to timezone(3) yet. 2001-03-31 19:00:56 +00:00
kleink f6a1b39cc5 Finally deprecate the old timezone() interface in favor of an XSH5
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
2001-03-31 18:58:41 +00:00
kleink 9b04b6e1a5 Oops, missed type change in previous. 2001-03-31 18:45:38 +00:00
kleink 836e086116 Bump minor to 74: addition of __timezone13 and daytime. 2001-03-31 18:32:47 +00:00
kleink a495a577a0 Finally deprecate the old timezone() interface in favor of an XSH5
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
2001-03-31 18:29:20 +00:00
agc 6b3108e0aa Revert previous overzealous change, committed in error. 2001-03-30 16:12:44 +00:00
agc ab498e3d7f Put back prototype of yyparse(), since the function name is modified
by the Makefile

	YPREFIX+=__libyy

setting, and we thus get an unprototyped function.
2001-03-30 15:17:47 +00:00
kleink b1cc53ab31 While I'm here, add a LIBRARY section.
XXX Someone should lift this to our mdoc.
2001-03-29 20:56:30 +00:00
kleink 49cc52fbf7 Declaration syntax nit. 2001-03-29 20:54:06 +00:00
kleink 8ca649a389 Sprinkle some restrict. 2001-03-29 19:06:39 +00:00
kleink ad8586ad2d Fix printf format used in example; from Jim Bernard in PR lib/12496. 2001-03-29 18:50:59 +00:00
christos c5da7a4cfa try to make this compile on 1.4.x 2001-03-28 22:53:40 +00:00
christos 5bc6f3f69d deal with buffer overflows for fixed length buffers. 2001-03-28 22:13:06 +00:00
christos 6f6e7c44eb KNF. no functional differences. 2001-03-28 21:16:48 +00:00
kleink 530e81b761 Wrap external declarations inside __{BEGIN,END}_DECLS; fixes PR lib/12458
by Dan McMahill.
2001-03-27 22:46:55 +00:00
itojun 4b72eeeee5 net.inet.ip.maxfragpackets defines the maximum size of ip reass queue
(prevents fragment flood from chewing up mbuf memory space).
derived from KAME net.inet6.ip6.maxfragpackets.
2001-03-27 02:24:38 +00:00
tshiozak 636743250b fix a bit bug. this bug normally causes no problem. 2001-03-26 20:06:46 +00:00
tshiozak 6c89983bd3 support nl_langinfo(CODESET). 2001-03-26 19:55:42 +00:00
blymn 7e7a04dc80 Bumped major because driver commands have changed value and the subwin
is no longer created by the library.
2001-03-25 12:37:29 +00:00
blymn 64bd55957f * Remove code that created the subwin if it did not exist as this is
not the correct behaviour.
 * Mods to support new curses window behaviour.
2001-03-25 12:34:47 +00:00
blymn 4aa1a8e86c * Fix wrapping behaviour - O_WRAP turns on/off wrapping on word
boundaries.
 * Only justify static fields and only scroll dynamic fields.
 * Handle O_PUBLIC and O_VISIBLE flags when drawing field.
 * Changes to support new curses window handling.
2001-03-25 12:32:53 +00:00
blymn 172c564232 * Bracket constant defines
* Driver commands are now offset by curses KEY_MAX
2001-03-25 12:27:22 +00:00
blymn 919001b4a1 * Fixed curses window handling, library no longer creates a subwin.
* Do not position the cursor in the field is O_PUBLIC is not set.
2001-03-25 12:24:47 +00:00
blymn 6c29066dc9 * truncate field contents to field length if field is or becomes static
* Allow field options to be changed when field posted unless field
   is the current one.
 * Allow field justification to be changed when field posted unless it
   is the current one.
 * dynamic_field_info now returns field size in rows and columns if
   the field is static - previously this was an error.
2001-03-25 12:21:06 +00:00
jdolecek 10b43f7cd4 kvm_doargv2(): make sure the string ends with '\0'; sysctl() might not
properly end it if the data would be longer than the supplied
	buffer

This fixes lib/11467 by SAITOH Masanobu and lib/12389, maybe also
lib/12439.
2001-03-24 10:02:45 +00:00
jdolecek 233eee3634 Minor fix to kvm_doargv2() - if the kd->argv is reallocated, reinitialize
'ap' too. This doesn't seem to have any effect either way; seems like the
condition is never met?
2001-03-24 09:54:52 +00:00
kleink 346219c95f Sprinkle some restrict qualifiers. 2001-03-22 07:37:04 +00:00
cgd 1da7909939 clean up a bit, xref exit(3), and suggest use of EXIT_FAILURE. 2001-03-22 01:47:17 +00:00
cgd e8c9c330a8 document EXIT_SUCCESS and EXIT_FAILURE, since they've been around
since ANSI and (for portability, since ANSI) in some circles they're
the preferred exit status codes.
2001-03-22 01:37:46 +00:00