Commit Graph

5579 Commits

Author SHA1 Message Date
is 0bffee4893 The mapping is, effectively, an exclusive or with 0x01. Replace.
Savings: 10 bytes of code/constant data, 1 machine instruction (including
one memory access).
2000-12-04 12:02:08 +00:00
ad c9305d1df0 Fix comment. 2000-12-03 13:01:37 +00:00
scw 6751bb4f81 Save the return address in %a1 across the vfork syscall instead of %a0. 2000-12-02 17:03:06 +00:00
scw c586587e47 Restore %a0 after the call to sigprogmask(2) since an ELF kernel
will stomp on it due to SVR4 ABI compliance...
2000-12-02 16:25:39 +00:00
christos ebb980fc21 This is for completeness only (to make fdopen symmetric with fopen and freopen)
and to match the documentation. Return an error if "f" was specified and the
file descriptor does not refer to a plain file.
2000-11-29 15:36:42 +00:00
christos 8955e88e2f Add checks for O_NDELAY [which indicates that we only want plain files],
and return an error if the file was not plain.
2000-11-29 15:31:10 +00:00
christos 2a213d0e9a make sure we preserve errno. 2000-11-29 15:30:20 +00:00
matt 1ebd90e347 Add -${MAKEFLAGS} so that make options (like -m) get used for the submake 2000-11-29 09:25:22 +00:00
jmc 50b6095c16 Alloc the keys structure with A_K_NKEYS as the multiplier rather than a
hardcoded value of 4.

A_K_NKEYS is currently 6 and this mismatch was stomping memory when
initializing the keys. (specifically gdb lost the exec file name if it was
a long path name).
2000-11-28 22:37:51 +00:00
is a4fe32b56e Another change by Hiroshi Horimoto. 2000-11-28 15:23:09 +00:00
scw c81e32f3dd Add missing register prefixes. 2000-11-28 11:37:20 +00:00
scw 4dab4ff2ca Add a missing `%' register prefix. 2000-11-28 11:34:14 +00:00
is a3a6f324e6 Use dbeq loops, code submitted by Hiroshi Horimoto in PR 3223, integrated
and tested by Allen Briggs.
Needs 1/3 less time on 68030, 45% less time on 68040.
XXX On 68060, 1/2 less time for the padding part, but 40% more time on the
copy part. I've stared at the 68060 User Manual, but can't understand why;
must be some wierd (branch) cache interaction.
2000-11-27 22:35:30 +00:00
wiz e7775dbf9e Be SUS-conformant regarding return value when option argument is missing.
Handle "-" correctly.
2000-11-26 23:39:11 +00:00
wiz 7af3cfc292 Reorder sections to conform more to mdoc.samples; remove non-mdoc
section header; fix two typos.
2000-11-26 22:35:53 +00:00
itojun a1ce29330c sync with latest openbsd.
comment in strlcat(3) was wrong about return value.
2000-11-24 16:19:05 +00:00
itojun 1bc25f5914 strictly conform to RFC2553 (specifically ENXIO case). sync with KAME 2000-11-24 08:21:12 +00:00
wiz efaced1f8c fix typo 2000-11-21 23:35:10 +00:00
jdolecek b0074dd768 back out majority of rev 1.5, left stuff from rev. 1.5 is:
* () --> {} change
* removal of redundant explicit dependency 'asn1.h: asn1.hx'
2000-11-19 20:29:05 +00:00
itojun 4f72111370 re-introduce netbsd fix 1.5 -> 1.6, which was mistakenly removed.
pointed by Gui Harris.

---
Fix a hairy optimizer bug that causes the expression:
'ip and ((icmp and dst host 1.1.1.1 and not host 2.2.2.2) or (host 1.1.1.1 and src host 3.3.3.3))'
to compile incorrectly.  Details about to be mailed to LBL.
2000-11-19 13:18:03 +00:00
veego 4d9226fbc0 Backout parts of rev 1.5.
We need the SUBDIR here to create an obj directory in asn1_compile.
2000-11-19 10:56:05 +00:00
mrg 2d1d6239e4 document SWAP_DUMPDEV & SWAP_GETDUMPDEV. 2000-11-17 11:40:05 +00:00
pk 2c7ffcac2f Put back `${SRCS}: asn1.h', so a `make depend' is not obligatory. 2000-11-17 09:57:55 +00:00
msaitoh dedc9b2e09 Add forgotten initialization.
Fixed PR#11446.
2000-11-16 08:57:15 +00:00
lukem 73842568e7 english fixup 2000-11-16 07:25:36 +00:00
matt f1ac0dd6e1 The prototype for fmtcheck is in <stdio.h> so we'd better include it. 2000-11-16 02:10:18 +00:00
jdolecek 794898fca8 clean up depends a little, add stuff to force compilation of
asn1_compile as needed, the SUBDIR stuff is no longer used
this is primarily to avoid parsing k5.asn1 on every visit here
2000-11-13 15:08:16 +00:00
jdolecek cc6c70f0da make a bit more silent and avoid 'compile_et is up to date' message 2000-11-13 15:05:30 +00:00
christos ff59a2fadd - add support for home and end keys.
- improve debugging support
2000-11-11 22:18:57 +00:00
wiz 1c35e133b0 Install html documentation for libbz2/bzip2.
Reviewed by Simon Burge.
2000-11-10 02:00:09 +00:00
wiz 3f39888ac6 Install (lib)bzip2 info file, as requested by NAKAJIMA Yoshihiro in PR 7402. 2000-11-08 02:15:13 +00:00
lukem cff6006e56 improve description of line syntax 2000-11-08 00:09:38 +00:00
blymn c2a9885658 Added libform specific error code. 2000-11-07 10:59:27 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
jdolecek 30ca1a2a3e add missing ' is ' in regerror() explanation 2000-11-06 13:20:58 +00:00
christos 119c9cb003 add a lint comment. 2000-11-05 20:05:29 +00:00
itojun 455900d894 always build libintl (don't check MKNLS).
MKSHARE=no turns off MKNLS (sets it into "no") and /usr/src/Makefile builds
src/lib with MKSHARE=no.
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
2000-11-04 15:35:43 +00:00
itojun a09524d498 update bindtextdomain() handling to be conformant to spec. we need to
maintain database for (domain, path).  sync with citrus.
2000-11-03 14:29:22 +00:00
itojun c070a07602 supply _nl_msg_cat_cntr, just to make gettext.m4 happy. sync with citrus.
(I do not get gettext.m4's approach here)
2000-11-02 10:24:48 +00:00
eeh 5d73d71676 Fix modf() (I hope. Can't be any worse than the old version.) 2000-11-01 23:32:41 +00:00
itojun 4dd96530bc make the following behavior compatible with GNU gettext.
bindtextdomain(foo, path)
	textdomain(foo)
and message file is found under "path" only.  sync with citrus.
2000-11-01 03:39:21 +00:00
itojun a8735e2859 do not build libintl if MKNLS=no 2000-11-01 01:21:21 +00:00
briggs 2c5b165052 fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
The weak_alias is __fmtcheck().  matt@3am-software.com pointed this out
as a problem when trying to build on a vax.
2000-11-01 01:17:20 +00:00
itojun 511f411d40 we do not allow relative pathname 2000-10-31 16:11:32 +00:00
itojun 099fdc2a17 less warnings on lint. be more friendly with align-picky arch. 2000-10-31 16:02:52 +00:00
itojun 0ad204abb5 fix default domain name handling. why textdomain() and bindtextdomain()
behaves so different?  sync with citrus.
2000-10-31 15:23:04 +00:00
itojun 953ed8c2ba declare .Lb symbol for libintl. 2000-10-31 15:08:29 +00:00
lukem afc75b9e6d Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid().
Initial problem noted by Danny Braniss <danny@cs.huji.ac.il>
via Jacques A.  Vidrine <n@nectar.com>
2000-10-31 12:47:21 +00:00
itojun 78c48ba46f remove confusing goto. sync with citrus 2000-10-31 11:08:18 +00:00
itojun 435b1e303d fix read(2) return value validation. sync with citrus 2000-10-31 11:05:22 +00:00