Commit Graph

103974 Commits

Author SHA1 Message Date
yamt 8872a5d6af make sure to update the vnode's size even if uiomove failed.
otherwise, softdep states can't be flushed later.

ok'ed by Chuck Silvers. fix PR/16670.
2002-10-18 01:05:52 +00:00
yamt b4890b32a7 regen; fix simple typos 2002-10-18 00:59:11 +00:00
yamt 2e29ebca4d fix typos; "wiseman" is 82542, not 82452. 2002-10-18 00:56:16 +00:00
yamt dcde342d09 add an entry for 0x83 to intel_cpuid_cache_info. 2002-10-18 00:51:22 +00:00
itojun e33246f5c7 correct prefixlen handling for IPv4. 2002-10-18 00:21:23 +00:00
itojun 3c30f46849 Make prefixlen check to make sure its argument is present before deref
from openbsd
2002-10-18 00:16:25 +00:00
itojun 68603e5242 correct use of format string (signedness, %ldd). PR 18679 2002-10-17 23:50:17 +00:00
thorpej b000f2251b * Add "struct device" to the softc.
* Add missing notice.

Problems pointed out by Jonathan Stone.
2002-10-17 22:03:40 +00:00
thorpej 00b192ce18 Bring in the following fix from gcc-current:
2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>

        * config/alpha/alpha.c (alpha_initialize_trampoline): Use
        tramp, not addr, to pass the trampoline address to
        __enable_execute_stack.

Otherwise, incorrect behavior would result if the trampoline happend
to stradle a page boundary.
2002-10-17 21:01:03 +00:00
thorpej 2c07094b2a Allow more than one interface to be specified on the command line. 2002-10-17 19:13:50 +00:00
atatat 2bc4364804 Provides better error messages from the symbol lookups (printing
merely "  == 1" is just *not* helpful).

Note which symbols were missing (better for bug reports, if anyone
files one :).

Make the kernel submap symbols optional (sparc, sparc64, most powerpc,
and the sh3 ports seem not to have a phys_map -- problem noted by
myself yesterday).

Oh, and a little misc lint cleanup while I'm here.
2002-10-17 17:18:34 +00:00
soren e596a26d09 Comment out the "real" Sendmail entries also to force the user to choose. 2002-10-17 16:52:40 +00:00
soren dc8c2ef8d0 Postfix does not support the 'send-mail' arg. 2002-10-17 16:47:47 +00:00
soren 0f79acf93f Add commented-out Postfix examples. 2002-10-17 15:41:54 +00:00
kleink 7b94394741 Update for tz{code,data}2002d. 2002-10-17 13:48:35 +00:00
kleink 20b67c3da4 Import tzdata2002d. 2002-10-17 13:45:39 +00:00
itojun f1215ef8af add missnig -I to gnu/dist/mrouted, which is needed by gcc 3.2
(somehow 2.95 automagically includes it into -I path)
2002-10-17 12:50:00 +00:00
lukem c88bce2d8b obsolete usr/share/info/tar.info 2002-10-17 12:27:58 +00:00
lukem 43863418ef - obsolete usr/share/locale/*/LC_MESSAGES.mo
- sort entries
2002-10-17 12:26:46 +00:00
scw 99ad3a762b Add native optimised assembler versions of some libkern routines.
The memcpy routine is courtesy of SuperH, with some tweaks by me.

XXX: There is room for further optimisation in some of these routines.
2002-10-17 11:53:32 +00:00
tron 12b88f0269 Fix lint error. 2002-10-17 11:36:39 +00:00
wiz 26acd804be Fix typo in last (hi christos). 2002-10-17 08:46:00 +00:00
wiz 15b9c5f2df Fix typos. 2002-10-17 08:42:37 +00:00
wiz 7b3758d0d4 Use .Dq and .Sq. Fix some typos. 2002-10-17 08:41:48 +00:00
wiz 26f2e93a91 Use .Dq and .Sq. 2002-10-17 08:41:38 +00:00
wiz 8a729689b0 Improve English. 2002-10-17 08:33:36 +00:00
grant aad1ee5c4e tar/cpio -> pax date correction. 2002-10-17 08:24:08 +00:00
jdc 98cf4923e8 Remove SUN_MS_BPS. It is already present in ms(4).
Pointed out by mrg.
2002-10-17 07:48:12 +00:00
lukem ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
lukem b81a1d9903 - if SMALLPROG is defined, add -DNO_EDITCOMPLETE -DNO_ABOUT,
and don't bother linking with -ledit -ltermcap
- if SMALLPROG is not defined or SMALLPROG_INET6 is defined, add -DINET6
2002-10-17 06:16:48 +00:00
lukem f36008676d Remove these, since platforms using the New Distrib World Order have
been building these using the basesrc Makefiles with SMALLPROG defined
for a while now.
2002-10-17 06:02:34 +00:00
provos 04a469212b cleanup 2002-10-17 04:45:04 +00:00
christos d5d6fac25a Jeez! Delete hard-coded vt100 sequences. This could be done using termcap,
but why bother?
2002-10-17 03:34:20 +00:00
christos 590fa669c8 - eliminate the hard-coding of pathnames in the default install.
- all command executions now use the path [execvp/execlp/system].
- normalize the macro names as <COMMAND>_CMD.
- in some OS's full pathnames for commands can still be provided, but this
  is not the default.

This was needed to fix -DTAR_FULLPATHNAME="/usr/bin/tar"
2002-10-17 03:31:33 +00:00
thorpej fe9dc5bbfc Note basename(3)/dirname(3) changes to return pointer to static storage. 2002-10-17 02:07:44 +00:00
thorpej c10a556f9b Change basename(3) and dirname(3) to return a pointer to static
storage, rather than modifying their input arguments.  While not
reentrant, this is explcitly allowed by IEEE Std 1003.1-2001 (which
allows either behavior, stating that it is implementation-dependent).

The new semantics are considered less hostile/more useful by most programs
which use basename(3) and/or dirname(3) (several programs in the NetBSD
tree reimplement basename()/dirname() themselves to avoid modification
of the input argument).

This new implementation truncates results to PATH_MAX.  The Std does
not address this in the static storage case.  However since PATH_MAX
is the maximum pathname length in the Std, this should not be a problem
in practice.  Nontheless, it is noted in the BUGS section.

See the basename(3)/dirname(3) regression tests in src/regress/lib/libc.

Inspired by discussion with Niels Provos, related to PR 18647.
2002-10-17 02:06:04 +00:00
lukem ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
lukem 0ec638c2e6 set SMALLPROG=0 (it was implicit) 2002-10-17 01:49:18 +00:00
fair 8459c79958 Change the "dontcare" bits argument of ifmedia_init() to IFM_IMASK,
so that PHY instance is not siginificant in ifmedia_match(). This
is done to support multiple PHYs on the MII. Without this change,
ifmedia_set() would panic the system when no PHYs were matched.

I ran into this on an AMD EasyNow PC, which is built around SiS
system chips with an embedded SiS 900 core, and an external AMD
Am79c901 PHY, which presents two PHYs on the MII: one for HomePNA,
and one for standard 10base-T. The 10base-T PHY ends up with instance
number 1...
2002-10-17 01:17:30 +00:00
itojun 8e08bbaaa3 pax replaced cpio/tar 2002-10-17 01:11:21 +00:00
christos ed254499e5 Factor out some more code, and don't expand names in ././@LongLink records. 2002-10-17 01:08:22 +00:00
christos 860d26c69b Fix DEFOP botch. DEFOP == LIST so tar -tvf stopped working. (hi soren) 2002-10-17 00:42:02 +00:00
christos 4472ef1520 Add proper longlink support. Previously we handled longname support, and
the longlink support was completely wrong.
2002-10-17 00:32:36 +00:00
itojun 5fc1c3b058 do not differentiate manually configured address from autoconfigured ones
wrt prefix management;
- always earn a reference to the prefix when an address is configured
 (by ioctl).
- always delete the prefix when an address that has the last referene
  is manually removed.

The change should solve the problem raised in KAME-snap 6989.

sync w/kame
2002-10-17 00:07:44 +00:00
christos 69ea8215e0 add commas between options. Suggested by wiz. 2002-10-16 23:52:06 +00:00
soren 4ba08d1776 Tweak tar_usage(). 2002-10-16 23:37:49 +00:00
soren af892f930e Have tar require a specific action as documented. 2002-10-16 23:22:59 +00:00
soren f9d5774005 Sync cpio_usage() with cpio.1 as with pax and tar. 2002-10-16 22:38:36 +00:00
christos 4dbb5fa93c grr, I put these in the wrong spot. 2002-10-16 21:49:08 +00:00
christos 24dd1a7d61 Document the long options. 2002-10-16 21:47:13 +00:00