Commit Graph

9453 Commits

Author SHA1 Message Date
kleink 2594bcf8ad Repair sentence in previous. 2004-05-13 01:43:13 +00:00
kleink aa87f3ef0e * Undo rev. 1.9, most of which was either redundant, inaccurate, or wrong.
* Elaborate on IPC_EXCL in the description.
2004-05-13 01:39:14 +00:00
kleink 15a5f3876a Don't use tm_gmtoff for %z: a strictly conforming ISO C application won't
initialize it.  However, instead of using what is suggested in this code
path, attempt get it right for DST as well.  Addresses PR standards/21722
from Richard Earnshaw.
2004-05-12 23:03:11 +00:00
toshii ac142bbda7 Fix typos. 2004-05-12 17:20:01 +00:00
wiz 7117989465 Sort sections; use \*[Lt]\*[Gt] instead of <>. 2004-05-11 20:02:54 +00:00
kleink 58c660fd11 When using PATH_MAX in the example, make sure we include <limits.h>! 2004-05-11 17:39:36 +00:00
kleink 3bb0518901 Add an example code piece; suggested by Thomas Klausner. 2004-05-11 17:38:18 +00:00
drochner f56a8e5871 make this build in the tools/compat reachover
case if HAVE_FPARSELN is not present
patch from Christian Limpach
2004-05-11 17:31:04 +00:00
wiz d5286aa001 End sentence with a dot. 2004-05-11 12:29:22 +00:00
kleink 4c5383c22f Don't use tm_zone for %Z: a strictly conforming ISO C application won't
initialize it.  Addresses PR standards/21722 from Richard Earnshaw.
2004-05-11 09:32:02 +00:00
kleink 8df3999b0c While I'm at it: add restrict qualifiers to readlink(2). 2004-05-10 22:33:08 +00:00
kleink 43b7ae77fa POSIX-2001: Change readlink(2)'s return type from int to ssize_t. 2004-05-10 22:28:23 +00:00
thorpej 1e627ed78e Make gmon / mcount work properly for threaded applications by keeping
thread-specific gmonparam structures and then merging them before dumping
the profile buffers.

Written by Nathan J. Williams, contributed by Wasabi Systems, Inc.
2004-05-10 22:16:42 +00:00
drochner d1a752ca4b put back the CAVEATS section
pointed out by wiz
2004-05-10 17:15:28 +00:00
drochner 1626697cbc remove the fgetstr manpage 2004-05-10 17:02:21 +00:00
drochner 64b5a4f2c6 Add FLOCKFILE() locking - should be threadsafe now.
(Didn't test the !HAVE_FPARSELN && !_REENTRANT case -- this might be
hit in tools/compat on some host platforms.)
2004-05-10 16:50:23 +00:00
drochner db594c6591 After discussion with christos, turn fgetstr() into an internal function.
Its API in inherently non-threadsafe (and it depends on certain properties
of the underlying stdio implementation), so it shouldn't be a first-class
function for general use, polluting the application namespace.
Also remove the FLOCKFILE() code from it - this is under control of the
calling function now.
(XXX I'm not sure whether the FLOCKFILE() should be kept in fgetln(),
this function cannot be used in multiple threads anyway. It doesn't
hurt much, and it might prevent corruption of internal FILE structures.)
2004-05-10 16:47:11 +00:00
kleink f52f2d3dfe Add a manual page for the standard-inspired offtime(3) and friends;
requested by Thomas Klausner.
2004-05-10 02:02:00 +00:00
lukem 2ebcc58148 sbsize should be parsed as R_CSIZE so that suffixes work correctly.
Fix from Christian Biere in PR [lib/25504].

(XXX: the R_CSIZE parsing should be changed to using strsuftollx(3))
2004-05-09 23:28:11 +00:00
kleink f379d2c8ac There are two instances of getsubopt.c, one in gen, which came by the
ways of 386BSD, and one in stdlib, which is from Lite-2.  The former was
picked up by the build process and has seen a little more maintenance
while the latter's location is "right", so bring the latter up to par
with the former and dispose of the (now) latter.

Reported by David A. Holland in PR lib/25160, which is worded in a
far less mind-boggling fashion than the above.
2004-05-09 19:34:11 +00:00
kleink a060c8818b We now need an internal name for fileno(), since when buildling libc
_REENTRANT we can no longer use the macro version from <stdio.h>.
2004-05-09 17:27:53 +00:00
yamt 609701c865 - note its typical usage.
- bump date.
2004-05-09 11:28:58 +00:00
kleink 95e4d0d7af Need namespace.h for internal names of strdup, strlcpy. 2004-05-09 11:26:33 +00:00
kleink 6352cc4399 Need namespace.h for internal names of fseeko, strlcpy. 2004-05-09 11:25:52 +00:00
kleink 6108f6dd87 Need namespace.h for internal name of strlcpy. 2004-05-09 11:25:20 +00:00
kleink 8d54bc1847 struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.  Fixes PR
standards/21411 from Ben Harris.

This should be deleted the next time the libc major number is
incremented.

Also, update getnetbyaddr(3)'s `net' argument accordingly.
2004-05-08 18:52:15 +00:00
wiz 3a6d7bd8c0 Revert part of previous.
[Never argue with a language lawyer, or at least expect to lose ;)]
2004-05-06 19:16:32 +00:00
jdolecek 55c776851d fix reference Nx 2.1 to Nx 3.0 2004-05-05 08:48:36 +00:00
atatat f5a0e81454 That's "endutxent", not "entutxent". Hi, wiz! 2004-05-04 02:38:35 +00:00
lukem 5f5a907836 fix description for svc_getreqset() 2004-05-03 15:57:36 +00:00
kleink 5a6f0c93e7 In the nothread version, don't return EINTR if select() was interrupted
since this value is explicitly ruled out by POSIX.  Instead, return 0,
like a spurious wakeup.  From YAMAMOTO Takashi in PR standards/24240.
2004-05-03 09:13:34 +00:00
wiz fde70892d3 Mention that cfmakeraw needs an initialized termios structure.
Addresses PR 25371.
2004-05-01 08:15:54 +00:00
wiz 7383a5157d Make that NULL, and mark up an extension like a path. 2004-05-01 07:59:09 +00:00
mrg d04c0ebe4a oops; don't back out the minor number, just remove the functions.
this will allow updating to happen seemlessly.
2004-05-01 07:57:46 +00:00
mrg cd841de728 backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
	- un-bump minor number
	- remove docs for gone functions.

traditionally this is an invalid change (removing an API from a library
without bumping the major.)  it has been decided that this case is special
enough not to require that.  no one should have been using these new
functions yet.

PS:  this may cause "make install" to barf about older libraries already
being installed.
2004-05-01 07:54:50 +00:00
kleink 88d9244df3 Add ndbm(3) documentation, fixing PR lib/25357. 2004-04-30 21:13:23 +00:00
skrll f01797a30f Fix typos so that we define _start and __start.
The linker script gets the right entry point now.
2004-04-30 08:11:37 +00:00
christos 744eb72770 PR/25397: David A. Holland: bug in second loop of resizeterm
(win used uninitialized), hidden by wrong gcc appeasal.
2004-04-29 22:28:51 +00:00
kleink ceeaed078c XPG4.2: when it is attempted to open a database write-only, silently
"upgrade" to use read/write access on the database file.
2004-04-29 18:37:20 +00:00
kleink b4e89dd2ab Purge a leftover comment from rev. 1.6. 2004-04-29 16:33:20 +00:00
kleink dc370e204f libc.so.12.117: added __dbm_{delete,fetch,firstkey,nextkey,store}13(). 2004-04-28 00:11:44 +00:00
kleink dbfbef898d XPG4.2: Change member `dsize' of struct datum from int to size_t.
Version dbm_{delete,fetch,firstkey,nextkey,store}() accordingly.
Fixes PRs standards/21402 from Ben Harris and standards/25343 from
Murray Armfield.
2004-04-28 00:10:52 +00:00
kleink 537be69d5c Remove internal names for dbm_*(3); these are not required at this time. 2004-04-27 20:03:45 +00:00
uwe 85cb92089f Add trailing space that got lost from the string definition.
Pointed out in PR lib/25340 by Juho Juopperi.
2004-04-27 02:15:04 +00:00
kleink 681b62c2ce POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2].  From Murray
Armfield in PR standards/25331.

In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).
2004-04-27 01:12:44 +00:00
jonathan 887b782b0b Initial commit of a port of the FreeBSD implementation of RFC 2385
(MD5 signatures for TCP, as used with BGP).  Credit for original
FreeBSD code goes to Bruce M. Simpson, with FreeBSD sponsorship
credited to sentex.net.  Shortening of the setsockopt() name
attributed to Vincent Jardin.

This commit is a minimal, working version of the FreeBSD code, as
MFC'ed to FreeBSD-4. It has received minimal testing with a ttcp
modified to set the TCP-MD5 option; BMS's additions to tcpdump-current
(tcpdump -M) confirm that the MD5 signatures are correct.  Committed
as-is for further testing between a NetBSD BGP speaker (e.g., quagga)
and industry-standard BGP speakers (e.g., Cisco, Juniper).


NOTE: This version has two potential flaws. First, I do see any code
that verifies recieved TCP-MD5 signatures.  Second, the TCP-MD5
options are internally padded and assumed to be 32-bit aligned. A more
space-efficient scheme is to pack all TCP options densely (and
possibly unaligned) into the TCP header ; then do one final padding to
a 4-byte boundary.  Pre-existing comments note that accounting for
TCP-option space when we add SACK is yet to be done. For now, I'm
punting on that; we can solve it properly, in a way that will handle
SACK blocks, as a separate exercise.

In case a pullup to NetBSD-2 is requested, this adds sys/netipsec/xform_tcp.c
,and modifies:

sys/net/pfkeyv2.h,v 1.15
sys/netinet/files.netinet,v 1.5
sys/netinet/ip.h,v 1.25
sys/netinet/tcp.h,v 1.15
sys/netinet/tcp_input.c,v 1.200
sys/netinet/tcp_output.c,v 1.109
sys/netinet/tcp_subr.c,v 1.165
sys/netinet/tcp_usrreq.c,v 1.89
sys/netinet/tcp_var.h,v 1.109
sys/netipsec/files.netipsec,v 1.3
sys/netipsec/ipsec.c,v 1.11
sys/netipsec/ipsec.h,v 1.7
sys/netipsec/key.c,v 1.11
share/man/man4/tcp.4,v 1.16
lib/libipsec/pfkey.c,v 1.20
lib/libipsec/pfkey_dump.c,v 1.17
lib/libipsec/policy_token.l,v 1.8
sbin/setkey/parse.y,v 1.14
sbin/setkey/setkey.8,v 1.27
sbin/setkey/token.l,v 1.15

Note that the preceding two revisions to tcp.4 will be
required to cleanly apply this diff.
2004-04-25 22:25:03 +00:00
kleink 3e7f30c118 POSIX-2001: Change the `who' argument to [gs]etpriority(2) from int
to id_t.  Partially addressing PR standards/25216 from Murray Armfield.
2004-04-25 22:18:08 +00:00
christos 0b1d0cb383 Add -DSMALL so that this can be used in libhack. 2004-04-25 06:45:29 +00:00
atatat 990f278f7a Remove dynamic sysctl node version 0 from the tree. It seemed okay at
first, but quickly showed its shortcomings.  The version 1 node we're
now using should be good for a while.
2004-04-25 05:47:52 +00:00
kleink 37fa02ea0d Bump to 1.0: incompatible pci_devinfo() argument change. 2004-04-24 09:57:13 +00:00
kleink 7407d114f9 Catch up with the kernel: new buffer length argument to pci_devinfo(). 2004-04-24 09:56:36 +00:00
christos f0f6798596 sprinkle const. 2004-04-23 17:54:02 +00:00
christos dea77b1806 sprinkle const 2004-04-23 15:23:26 +00:00
wiz af1b524517 Bump date for previous. 2004-04-23 14:52:42 +00:00
christos 36d9d2a4de adjust to constification of cgetent() 2004-04-23 14:49:18 +00:00
christos b3a5c6932f Adjust to constification of db_name vector. 2004-04-23 14:48:07 +00:00
christos 2bab61681c Ansify and add change db_name vector from char ** to const char * const * 2004-04-23 14:47:52 +00:00
christos 75f2f1640d adjust to constification. 2004-04-23 14:47:23 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
simonb 04680727b1 s/this this/this/. 2004-04-23 02:48:12 +00:00
kleink 8b6d4dd0ae Xref statvfs(5). 2004-04-21 21:25:59 +00:00
wiz 3274408555 Whitespace nits; fix a minus; remove unnecessary {}. 2004-04-21 12:18:23 +00:00
wiz 1c276b3fae Mark up NULL, and fix a minus. 2004-04-21 12:16:00 +00:00
wiz bb32d7ba63 Drop trailing whitespace. 2004-04-21 12:10:36 +00:00
wiz 6cbd2718d7 Use mdoc macros instead of roff to mark up table;
mark up some more stuff.
2004-04-21 11:45:42 +00:00
jdc eb71bd67da Add missing mvin* and mvwin* manual pages. 2004-04-21 06:24:32 +00:00
kim 293fb86ada Formatting tweaks to make things line up yet not have columns
run into each other.  Fix one typo while here.
2004-04-21 02:46:34 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
wiz 58da84e9bf Bump date for previous. 2004-04-21 00:21:04 +00:00
wiz 74eeae1bcf Drop trailing whitespace; null -> nul; & -> \*[Am] 2004-04-21 00:19:40 +00:00
christos 887ab9a1b5 bump. 2004-04-21 00:02:46 +00:00
christos 4e510a4ef6 protect fgetstr 2004-04-21 00:02:26 +00:00
christos 6321f42fe9 Add a generalized version of fgetln that can stop at an arbitrary delimiter,
and implement fgetln on top of that.
2004-04-21 00:01:57 +00:00
atatat b91680c172 The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int".  Therefore, stop pretending that it's a long, since that can
incur bizarre failure modes if the types also don't have the same size
(sparc64, alpha, etc).
2004-04-19 13:16:42 +00:00
wiz 71cdf6adc0 Fix typo in xref. 2004-04-19 11:27:03 +00:00
lukem 968e09b852 Document RLIMIT_SBSIZE. 2004-04-19 01:53:21 +00:00
matt d07ed6425d Add sbsize login capability. 2004-04-18 18:21:43 +00:00
lukem 1f560b89c0 Append to AFLAGS rather than setting AINC. 2004-04-18 04:26:15 +00:00
wiz 962fdd9cb4 Remove duplicate word, from jfb@openbsd via jmc@openbsd. 2004-04-15 08:13:29 +00:00
kleink 84c861c7a5 Add documentation for %v. Noted by Havard Eidnes in PR bin/25180. 2004-04-14 21:59:39 +00:00
wiz 6677b3582e Add missing "-". 2004-04-14 13:40:30 +00:00
itojun 05e937a343 remove unneeded refs to rfc2553. jmc 2004-04-14 08:07:29 +00:00
itojun 66909f0052 remove prototype decl for removed function 2004-04-14 04:46:04 +00:00
itojun 777d124a65 remove unused code 2004-04-14 04:45:28 +00:00
itojun 8803684aa2 document AI_NUMERICSERV 2004-04-14 04:42:35 +00:00
itojun a1b7e86ab4 implement AI_NUMERICSERV (as defined in RFC3493) 2004-04-14 04:37:06 +00:00
wiz 6f852e37a7 One too many punctuation fixed in previous. 2004-04-13 23:03:22 +00:00
wiz f2d94d5597 Punctuation fixes; mark up NULL. 2004-04-13 23:02:28 +00:00
he 30f13a8751 Avoid using preprocessing conditionals in a macro argument list at least
as long as all ports have not yet been converted to using gcc 3.3.3.

Build bug discovered when building for vax.
2004-04-11 09:10:58 +00:00
atatat 8d5507a13f Weak aliases for sysctlfoobar() functions. 2004-04-08 05:45:26 +00:00
atatat 11d2a71805 Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3). 2004-04-08 04:10:44 +00:00
christos 9717f6662e check fflush() return code (from Julian Coleman) 2004-04-07 17:27:10 +00:00
ross 317058e147 Ignore errors when making tags here with the override target. (Now matches
the default target in bsd.dep.mk, which dashes the ctags commands.)
2004-04-07 03:49:16 +00:00
wiz 2569049f22 Add comma after "i.e.". 2004-04-04 23:41:23 +00:00
matt 6aeab1d37b Update FPSCR_FX consistently per the Programming Environment Manual. So
if any sticky bit is set, FPSCR_FX should be set.  If no sticky bits are
set, then FPSCR_FX should be clear.
2004-04-04 19:54:05 +00:00
matt 6da9a37235 Deal with the way FP_X_INV works. That maps to FPSCR_VX. However FPSCR_VX
is not a sticky, it's actually an inclusive OR of 9 stick bits.  So when
FP_X_INV is cleared, we need to clear all of those bits.  When FP_X_INV is
set, we set all of them.
2004-04-04 19:31:19 +00:00
matt 47e6b704bb Lint cleanup. s/u_int64_t/uint64_t 2004-04-04 19:28:13 +00:00
matt fb0f2fdab6 Supress a few lint warnings. s/u_int64_t/uint64_t/ 2004-04-04 19:27:19 +00:00
matt acdea83164 Suppress a lint warning. 2004-04-04 19:26:21 +00:00
perry 9b863e179d make this man page explain what the calls do somewhat better. 2004-04-04 17:10:48 +00:00
lha 6f880d33f3 bump minor version on libkrb5 2004-04-04 14:01:05 +00:00
christos 46937c5008 Avoid infinite recursion on:
echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g'

From OpenBSD.
2004-04-03 17:00:00 +00:00
matt 386a0ebdec Rather than use magic values, include <powerpc/fpu.h> and use those
definitions to generate the magic bits.
2004-04-02 22:55:19 +00:00
lha 4d21efe5f7 Merge changes between heimdal-0.6 and heimdal-0.6.1 2004-04-02 14:59:46 +00:00
pooka 12004f8f23 Pipes aren't "full-duplex byte streams", so don't compare SOCK_STREAM
type sockets to them.
2004-03-31 16:42:19 +00:00
snj 0e9a95f62e Simplify a clunky multi-line Fn, correct Nm usage, use Dq for quotes, add
some commas.
2004-03-31 01:25:46 +00:00
snj c747b3ab1b Bump date for last. 2004-03-31 00:14:30 +00:00
heas d9287af8b5 Add bits about FTS_WHITEOUT & FTS_W. 2004-03-31 00:01:47 +00:00
wiz 029ff5c848 Some wording improvements and other minor fixes from OpenBSD. 2004-03-30 13:28:13 +00:00
wiz f343a3e8ab Use pid_t for pids. From Jeff Ito in PR 24854. 2004-03-29 11:52:39 +00:00
wiz c74c0a1a12 Add a newline, remove a comma, and reword STANDARDS section
slightly.
2004-03-28 12:23:21 +00:00
jdc 3a817d94fd Increment libcurses minor to 1 (addition of *echochar()). 2004-03-28 08:59:15 +00:00
jdc a6a9a97d12 Changes to support *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:37 +00:00
jdc 5eb61d5ca7 Implement *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:13 +00:00
uwe e8f97ddda1 Mark gcc "millicode" functions .hidden if compiled for PIC. NB: these
files are *NOT* used, as we now provide gcc's version of millicode in
libgcc_pic.
2004-03-27 03:48:23 +00:00
he 9e1e88e1c4 Introduce sysc_init_field() and use it to make the code a little less ugly.
Also, fix another gcc2-unfriendly initialization.
2004-03-26 22:54:42 +00:00
enami d43ce6c183 Redo previous in a different way; cast the character held in int variable
as unsigned char just before passing isalnum() in ISWORD() rather than
fetching it as unsigned char.  It is ok since EOF is never passed to ISWORD()
(though it will be a bit inefficient.)

Addresses PR#24929.
2004-03-26 22:42:17 +00:00
wiz 359ed99579 Add comma in enumerations, grammar fix, and replace &
with \*[Am] for html output.
2004-03-26 22:18:15 +00:00
drochner 0341f6a45e the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
as <signal.h> won't help you, so remove it
2004-03-26 22:15:03 +00:00
drochner 66a132ee6f sigreturn() isn't officially supported anymore; remove its manpage
(which was outdated anyway)
2004-03-26 21:49:35 +00:00
drochner 87d87e87fe no need to define __HAVE_SIGINFO anymore 2004-03-26 21:29:07 +00:00
drochner 598cd4e454 fix siginfo adaption -- the "compat_16" prefix
shouldn't be exposed as a symbol
2004-03-26 21:24:14 +00:00
drochner 85fa9b7250 fix references to the syscall formerly known as SYS___sigreturn14 2004-03-26 20:35:37 +00:00
drochner 67f778a2c4 fix references to the syscall formerly known as SYS___sigreturn14 2004-03-26 19:36:40 +00:00
drochner 954d4024f6 sigreturn14 is just for compatibility, not referenced by any new code 2004-03-26 19:31:05 +00:00
drochner 606b8ac15b disembowel -- there is no kernel support anyway 2004-03-26 19:26:23 +00:00
he 2f47eb75f7 Modify this so that it actually compiles with gcc2. 2004-03-26 12:53:58 +00:00
wiz 073b7ea121 Bump date for previous; new sentence, new line;
remove duplicate word and fix a punctuation typo.
2004-03-25 20:02:04 +00:00
atatat 29e15c7932 Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump.  Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc.  That oughta cover it.
2004-03-25 19:36:26 +00:00
atatat 44afe14cb6 Unwind the nested designators for fields within structs within structs
(or unions).  This should really be put back once we're all using gcc3
for everything, since that makes it look a *lot* cleaner.
2004-03-25 18:36:49 +00:00
drochner 65626c5d91 kill sigcontext passing to signal handlers, we don't have to worry
about compatibility
2004-03-25 14:21:29 +00:00
jdc 8dded85639 Change TSTP handler back to using signal().
This fixes a problem where vi would not suspend.
Also, make sure that the signal handlers aren't set or removed multiple times.
Finally, add debug output when the signal handlers are set and removed.
2004-03-25 07:35:40 +00:00
wiz 5f31e2f50a Use Aq instead of \*[Lt]\*[Gt]; \- for a minus; remove
superfluous comma.
2004-03-25 01:13:32 +00:00
lha 8b387b156a Fix a problem where pthread_kill can set a signal while the process
have the signal blocked, this ends up making target thread getting
later stuck in a loop if it uses pthread_sigmask.

ok, cl and christos
2004-03-24 20:01:37 +00:00
atatat ce0d7254d4 Description framework for user-level sysctl nodes. Still haven't
written the descriptions.
2004-03-24 19:31:46 +00:00
snj 27d4257287 Bump date for last; avoid direct use of &, < and >; drop trailing space. 2004-03-24 19:10:46 +00:00
atatat 4723bb21ba Bring sysctl man pages up to date (wrt new query interface, the
versioning, and descriptions).
2004-03-24 18:22:30 +00:00
atatat c6abd47f96 New node version and layout. This should take care of the netbsd32
emulation problem, formalizes the versioning (should it ever be needed
again), and provides a slot for descriptions.
2004-03-24 17:21:02 +00:00
atatat d42aae36c0 The new sysctl query interface returns the same information as the old
one, but you must pass in an empty node that indicates the version
you're using.
2004-03-24 16:34:34 +00:00
atatat 9b4aa5d493 Remove my private hack for watching how sysctl works. That's not
supposed to be there.
2004-03-24 16:29:10 +00:00
wiz f3fef0b660 Increase width in tables so this displays more nicely. 2004-03-24 16:14:36 +00:00
atatat 19af35fd0d Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
jdc dd5d3aabfc Add (missing) mvgetch() and mvwgetch() manual pages. 2004-03-23 21:56:53 +00:00
jdc 34e5b04618 Clarify the getch() family return values.
Add (missing) mvgetch() and mvwgetch().
2004-03-23 21:53:34 +00:00
jdc 3d248dff59 Change the values of ERR and OK.
This makes our getch() and related functions conform to SUSv2.
Also fixes PR lib/15920.

XXX: This causes an API incompatability, but comes less than 27 hours after
     the libcurses major number was incremented, so should have minimal impact.
2004-03-23 21:35:29 +00:00
jdc 92cd5d7a66 We should check against NULL here.
From Brett Lymn.
2004-03-23 21:17:20 +00:00
pk 8a0244288a Call PIC_PROLOGUE only once. 2004-03-23 19:07:40 +00:00
pk dc7908cc61 Store the correct boolean value in sc_onstack. 2004-03-23 18:54:03 +00:00
pk 5e5e68672c The sc_g1, sc_o0 members in the jmp_buf aren't used. 2004-03-23 18:47:55 +00:00
pk de8223fe4d Since libpthread may want to interpose signal handling, we can't directly
invoke the sigprocmask syscall trap. So build a stack frame and call
the signal handling functions by name.
2004-03-23 18:46:47 +00:00
drochner a8c94ef1d3 simplify: it doesn't need an i387 to kill a sign bit 2004-03-23 17:11:35 +00:00
drochner 3219cdc550 replace the last occurence of an "int 0x80" syscall 2004-03-23 16:33:47 +00:00
drochner cd85223ee2 save errno while trying to install a !SA_SIGINFO trampoline -- this
is expected to fail with !COMPAT_16 kernels, and we shouldn't
overwrite errno in this case
2004-03-23 16:19:40 +00:00
pk d82ce85d20 Fix comment: g6 => o1 2004-03-23 16:13:27 +00:00
simonb 2b5fd0669b Actually compile __longjmp14.c. 2004-03-23 12:31:52 +00:00
simonb 02082ea642 Restore the PC as well; also use mcontext register defines for accessing
the mcontext.
2004-03-23 12:31:17 +00:00
pooka ae16b8b42b update for 4.08 2004-03-23 08:40:36 +00:00
simonb 769814bf89 Use setcontext() instead of sigreturn() to implement longjmp(). 2004-03-23 02:21:49 +00:00
simonb 339695cff5 Put the jmpbuf's FPCR in the ucontext, not the other way around. 2004-03-23 01:42:53 +00:00
simonb 270fda2783 Fix <tab> nits. 2004-03-23 01:41:47 +00:00
wiz cb35afd77e No comma in an enumeration of only two elements. 2004-03-22 19:51:18 +00:00
jdc d1f213e76e "New sentence, new line". 2004-03-22 19:11:28 +00:00
jdc 1dd2c9a89b Increment major number (to 5) because of the libcurses major number change
and because of the change to key definitions in menu.h.
2004-03-22 19:01:28 +00:00
jdc c73d2721d1 Change the key definitions so that they no longer collide with the ones in
libform.  Do this because the library major number is changing (the libcurses
major number is changing).
Suggested by Brett Lymn,
2004-03-22 19:01:09 +00:00
jdc ad95b1541c Increment major number (to 4) because of the libcurses major number change
and because of the change to match_enum().
2004-03-22 19:00:09 +00:00
jdc 582694413f Correct the fourth parameter to match_enum() to "exact" instead of "no blanks".
From Brett Lymn.
Part of the fix for PR bin/24604.
2004-03-22 18:59:48 +00:00
jdc abf59ded7e Increment major number (to 6) because of the change to KEY_MAX, 2004-03-22 18:57:58 +00:00
jdc 140349e83f Because we are changing the libcurses major number, remove can_change_colors()
and change the attribute definitions so that we can support more colour pairs.
2004-03-22 18:57:38 +00:00
jdc efc30049d8 Add KEY_RESIZE support and a SIGWINCH handler.
Fixes PR bin/20032.
This requires a change to KEY_MAX, which affects libform and libmenu, so we
need to change libcurses major number.
2004-03-22 18:57:10 +00:00
martin f85414fd31 Simplify slightly and fix a comment. 2004-03-22 18:35:51 +00:00
wiz 848e689872 Typo fix, from skrueger at europe com. 2004-03-22 13:41:09 +00:00
pk 3aa621c910 Use setcontext() instead of sigreturn() to implement longjmp(). 2004-03-22 12:35:04 +00:00
groo 19aa054c0d Actually install the new man pages. 2004-03-22 00:48:04 +00:00
matt 4b376ded6a Change longjmp on VAX (ELF) to use setcontext instead of sigreturn14. 2004-03-21 18:19:52 +00:00
matt ca145383c7 Change longjmp to use setcontext instead of sigreturn14. Change setjmp
to use symbolic offsets via assym.h
2004-03-21 18:04:27 +00:00
mrg 3b66f6e642 clean up my copyright 2004-03-21 05:47:44 +00:00
mrg 05cd119306 remove my copyright statement 2004-03-21 05:46:42 +00:00
groo 80ddfc8cb9 update documentation from 0.9.7b to 0.9.7d 2004-03-20 21:48:44 +00:00
kleink 78a2369a15 Make casing in previous consistent. 2004-03-19 19:30:23 +00:00
kleink ddfc3e5143 %% doesn't write anything; a literal % is matched. Noted by Hubert Feyrer. 2004-03-19 19:28:08 +00:00
scw d25d657094 sigreturn14 is deprecated, so don't use it in longjmp. 2004-03-17 00:35:08 +00:00
wiz 789ce34c16 Remove duplicate article. 2004-03-16 19:51:08 +00:00
snj 9bfae9c898 Spelling fixes. 2004-03-16 19:27:35 +00:00
snj dcf4b5a2bf Spelling fix. 2004-03-16 19:26:56 +00:00
snj 668bade8ea Spelling fixes. 2004-03-16 19:25:39 +00:00
snj 83b07697ca Spelling fix. 2004-03-16 19:20:20 +00:00
snj 066778123d Drop trailing whitespace. 2004-03-16 19:08:15 +00:00
wiz f812f7e9a5 Fix off-by-one, okayed by jdc. 2004-03-16 10:58:25 +00:00
wiz 0cc0ff5935 Drop trailing space. 2004-03-16 09:46:36 +00:00
jdc a02733d775 s/can_change_colors/can_change_color/ 2004-03-16 07:55:05 +00:00
jdc 424b4f06a5 Clarify colour values that can be passed to init_pair(). 2004-03-16 07:54:32 +00:00
jdc ed325dfb85 Accept any negative number of init_pair(). Noticed by Peter Bex.
Swap red/blue and yellow/cyan if necessary in assume_default_colors().
2004-03-16 07:52:43 +00:00
jdc a61e837cb5 gcc -Wuninitialized 2004-03-16 07:49:01 +00:00
jdc 404624e2be We no longer need <signal.h>. 2004-03-16 07:48:18 +00:00
jdc 72d6b43902 s/colour/color/. From Douwe Keila. 2004-03-16 07:46:24 +00:00
jdc 6db03ed922 Minor style change. 2004-03-16 07:44:31 +00:00
yamt 936455ecbc "Upcall handlers should be registered" -> "An upcall handler ..."
as only one handler can be registered.
2004-03-14 23:05:09 +00:00
wiz 60f9cb09db Begin sentences with uppercase letters. 2004-03-14 20:57:49 +00:00
he 99f69b6c5f It appears that <sys/lock.h> requires <sys/types.h>, so include that as well. 2004-03-14 12:49:31 +00:00
snj ae6d7048fe Spelling fix. 2004-03-14 10:36:09 +00:00