Commit Graph

19370 Commits

Author SHA1 Message Date
phk
27e71d1e48 I have no idea what this is all about, but it works and Bruce hasn't
complained so it cannot be entirely bad :-)

I include the email that probably explains it for people who already know:

> >Compiling with -O3 inlines functions.  However the function that is being
> >inlined in makeinfo.c (add_word_args()) is a vararg function and must not be
> >inlined.
> >
> >The code in question is K&R style, and AFIK, there is no way for the compiler
> >to determine that the function uses vararg.  Either change the code to use
> >prototypes, or use stdarg, or add a directive to prevent inlining.
>
> Not declaring a varargs function as varargs before it is used gives
> undefined behaviour.
>
> However, in practice the bug is probably in FreeBSD's <varargs.h>, which
> doesn't use gcc's __builtin_next_arg().  gcc should notice that it is
> used and not inline functions that have it.  <stdarg.h.> uses it, but I
> think there's another gcc builtin that it should be using.

Patch attached.  The ellipsis causes gcc to flag this as a varargs function,
and the name "__builtin_va_alist" is special cased in gcc to hide the last
argument in the arglist.

Reviewed by:	bde & phk
Submitted by:	jlemon@americantv.com (Jonathan Lemon)
1997-02-07 20:22:15 +00:00
jkh
66962bcc3d Fix a hop count datatype bogon pointed out in PR#2642 (though my fix
was slightly different than the one submitted).
Submitted by:	Elmar Bartel <bartel@informatik.tu-muenchen.de>
1997-02-07 20:03:49 +00:00
jkh
58b4173bde Updates for the 2.1.7-to-be.
Submitted-By: pds
1997-02-07 19:17:22 +00:00
kato
d74230dbdf Moved macros which are related to BIOS work area from pc98.h
(corresponds to isa.h) to pc98_machdep.h.
1997-02-07 19:07:43 +00:00
kato
b8d0343f0d Enabled pccard code which was disabled by mistake.
Reminded by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-02-07 19:02:41 +00:00
wollman
1b0b9bef8d Fix off-by-one error in proxy host:port parser.
Submitted by:	fenner
1997-02-07 17:55:01 +00:00
pst
eb4c11f3a2 Put libopie.a in libnames 1997-02-07 17:06:24 +00:00
ache
81818fd81a Include "setlocale.h" for _PathLocale like other parts already did
Should go in 2.2
1997-02-07 13:05:51 +00:00
phk
47ffce85a0 Add ${.CURDIR}/ to relative path to contrib. 1997-02-07 12:29:27 +00:00
davidn
69f67f3e27 Increased username size to allow passing username:auth_method to
login.
1997-02-07 11:45:10 +00:00
yokota
32b56960eb Fix for the Compaq Armada laptop.
The PS/2 mouse device responds to a reset command with a sequence of
ACK(fa), RESULT(aa) and ID(00).  Most PS/2 mice immediately returns
ACK, but spend sometime before sending RESULT. The Armada takes time
before ACK; extra delay is necessary before the call to read ACK.

The problem was reported in comp.unix.bsd.freebsd.misc and the patch
was tested by the reporter. No PR was filed, by the way.
1997-02-07 11:41:45 +00:00
davidn
1a543bf107 Yet another formatting consistency check. 1997-02-07 11:31:42 +00:00
davidn
42430059c6 Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
1997-02-07 10:58:13 +00:00
davidn
2ee2d0c1f6 Correct comments relating to MAXLOGNAME.
MAXLOGNAME includes NUL terminator.
1997-02-07 10:41:41 +00:00
jkh
963a0fcad9 It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
pst
35db0d8dc1 Activate libopie 1997-02-07 03:58:36 +00:00
pst
82e28ab717 Activate new OPIE programs 1997-02-07 03:57:21 +00:00
pst
3afd1c0a0f This commit was generated by cvs2svn to compensate for changes in r22381,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:56:15 +00:00
pst
4c37b88543 Build opiepasswd from contrib_opie module. 1997-02-07 03:56:15 +00:00
pst
7a53360b4e This commit was generated by cvs2svn to compensate for changes in r22379,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:54:54 +00:00
pst
53492fe554 Build opiekey from contrip_opie sources. 1997-02-07 03:54:54 +00:00
pst
4f628dcc3a This commit was generated by cvs2svn to compensate for changes in r22377,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:53:12 +00:00
pst
1bf922859b Build opiekey from the contrib_opie module. 1997-02-07 03:53:12 +00:00
pst
74723c0068 This commit was generated by cvs2svn to compensate for changes in r22375,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:51:56 +00:00
pst
93295c3c25 Build libopie from contrib_opie module. 1997-02-07 03:51:56 +00:00
pst
c771e7d1aa Config information for FreeBSD 1997-02-07 03:46:28 +00:00
pst
aaf432f898 Minimal man page changes to reflect integrated ftpd/login/su 1997-02-07 03:46:00 +00:00
pst
f3df6bc19c Disconnect OPIE from internal MD4/5 routines 1997-02-07 03:44:44 +00:00
jkh
018c930397 Reference addendum.html/ADDENDUM.TXT for posting security information after
release.
1997-02-07 02:25:43 +00:00
jfieber
f7ba681c89 The rule for <acronym> was adding a newline where it should not. Fixed. 1997-02-07 02:25:36 +00:00
joerg
17d0705fc6 Update to the new open() semantics, need O_NONBLOCK now. 1997-02-06 22:24:35 +00:00
joerg
08e8fcd0b1 Update to match the new reality. 1997-02-06 22:23:59 +00:00
joerg
fd95191a55 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
joerg
5d0b32c215 The worm(4) driver needs a bdev major # now, too. 1997-02-06 22:20:33 +00:00
joerg
e8cf30c805 After so many people have been bugging me :), finally implement
read-mode access to CD-ROM media in the worm(4) driver.  No whistles
and bells yet, like all the CDIO* commands, but at least a start.

In order to do this, i had to slightly rearrange the semantics of an
open(2) on the worm driver: now, opening it with O_NONBLOCK set means
no actual IO operations will be intended but only ioctls are to be
processed.  This mode is used by wormcontrol(8) to prepare a track
and/or session.

I have only been able to test this on a 2.2-GAMMA system by now, and
only the !DEVFS part is tested yet.  Also, i have only done a dummy
burn so far, but wouldn't expect many surprises else.  Report bugs to
me ASAP, if there's reasonable demand and i hear no objections, i
might consider merging it into the 2.2 branch as well.
1997-02-06 22:19:44 +00:00
jkh
8a921c50ca Correct some of my grammer. 1997-02-06 21:31:31 +00:00
jfieber
1135625348 The afterdistribute target is a nop in this setting, remove. 1997-02-06 21:10:52 +00:00
jfieber
e9be5657e9 Change the distribution from doc to bin. If this is to be doc, then
everything that depends on this needs to be doc as well.  Maybe they
doc tools should be split out into a separate distribution, but until
that decision is made, at least keep them together.
1997-02-06 20:53:11 +00:00
pst
d47a8667fa This commit was generated by cvs2svn to compensate for changes in r22347,
which included commits to RCS files with non-trunk default branches.
1997-02-06 17:52:29 +00:00
pst
2dfcbf1931 Initial import of OPIE v2.3 from
ftp://ftp.nrl.navy.mil/pub/security/opie/
1997-02-06 17:52:29 +00:00
mpp
669d7c7c80 Replace "mfs" with "mount_mfs" in the NAME section. 1997-02-06 17:49:55 +00:00
mpp
0ea5c86ddd Add a link to the quota section in the "OPTION QUOTAS" section. 1997-02-06 17:47:14 +00:00
wosch
8c41f06c7f delete unused variable BINDIR=/usr/libexec
/usr/bin -> ${BINDIR}
1997-02-06 15:00:24 +00:00
kato
7a2447d3ab Deleted ioskip member of the structure pc98_edregister. The member
port is always used for accessing PAR and MAR instead of constant
interval of I/O address.
1997-02-06 14:16:52 +00:00
kato
5c48b3fc6b Cosmetic change. Sorted by function, added `1997' to copyright
notice,  and added comment.
1997-02-06 13:38:04 +00:00
brian
51f25cb044 Incoming packets no longer have their ip_sum zero'd 1997-02-06 11:16:21 +00:00
brian
f1bef29ded Don't zero ip->ip_sum during sum validation. This should only
affect programs that sit on top of divert(4) sockets.  The
multicast routing code already unconditionally zeros the sum
before recalculating.

Any code that unconditionaly sums a packet without first zeroing
the sum (assuming that it's already zero'd) will break.  No such
code seems to exist.
1997-02-06 11:14:22 +00:00
jkh
a45c2f2f55 Heh heh.. :-} Whoops, put this list back the way it belongs without
all the stuff inserted in the wrong place.
1997-02-06 11:09:16 +00:00
ache
a6b4cd1cf1 Comment out PATH_LOCALE reference
Should go into 2.2
1997-02-06 09:29:02 +00:00
ache
1fbffa765c Use symbolic constants instead of hardcoded digits
Add range check for setrunelocale since it can be called
directly.
Remove _startup_setlocale compatibility function

Should go into 2.2
1997-02-06 09:11:06 +00:00