This would have been commit #2 which was "Obtained from: BSD/OS" except
their code is buggy (they call err() if the execl() fails, which will
incorrectly call exit()), so instead this is:
Obtained from: NetBSD
various architectures. Now all the work is done in crtbegin.c.
It doesn't contain any assembly language code, so it should work
fine on all architectures. (I have tested it on the i386 and the
alpha.) The old assembly language files crt[in].S are now empty
shells that generate no code or data. They should not be removed
any time soon, because the various versions of gcc in src and ports
expect them to exist.
Next I will move crtbegin.c into a new common machine-independent
directory, and adjust the i386-elf Makefile to use that version.
After that I will adjust the alpha Makefile to use the common
version too.
Requested by: obrien
down as a result of a reset. Returning EINVAL in that case makes no
sense at all and just confuses people as to what happened. It could be
argued that we should save the original address somewhere so that
getsockname() etc can tell us what it used to be so we know where the
problem connection attempts are coming from.
reporting an AT PIC. We do this because otherwise the PIC will claim
IRQ 2 in an unshareable mode, preventing other devices from legitimately
using it.
For symmetry, in !APIC_IO mode, ignore the APIC if it's reported.
This is a hack; a better solution would have the PIC's driver release
the IRQ if it was not going to be active.
This should solve tentatively the pccardd core dump problem when
there's no CIS (likely CardBus cards).
Later, this function will have regex CIS string comparison capability
too.
Obtained from: PAO
integer expression. Otherwise the sizeof() call will force the expression
to be evaluated as unsigned, which is not the intended behavior.
Obtained from: NetBSD (in a different form)
- Avoid use of word that Americans don't know how to spell
- Avoid use of capital letters when referring to command names
- Bookmarks do span files
- Use .Qq where appropriate. I didn't use .Sq or .Dq where `' and ``''
appear, since it's not clear to me what modern usage of those two
macros is.
- Say simply: ``See .Xr xxx 1'' rather than ``See the .Xr xxx 1 command''.
This former style has undoubtedly increased in popularity due to
html and hyperlinks, but it's always been around (esp. for manpage
sections other than section 1).
- Use .St
- Dedocument use of `-' to mean that `more` should read from its
standard input. The modern preferred way to read from standard
input is by specifying /dev/stdin. This is not a prelude to changing
more's behaviour within the short term (ie. at least 3-4 years).