Jake Burkholder
82436f1067
Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
...
and add some compatibility defines. Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this. Reorder struct reg to be ABI compatible as
well. Add needed include of machine/emul.h.
This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
2002-04-09 00:57:23 +00:00
Poul-Henning Kamp
674a5ae34f
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.
2002-04-08 08:57:21 +00:00
Ruslan Ermilov
7c1d25d6c2
Fix style of ether_ntoa().
2002-04-08 07:51:10 +00:00
Jeroen Ruigrok van der Werven
a243e676fe
Fix EUC encoding conversion for codeset 3 and 4 to comply to the specification.
...
PR: 28552
Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
2002-04-07 16:37:15 +00:00
Ruslan Ermilov
dab8ffaac3
Polish previous revision.
2002-04-06 09:54:17 +00:00
Matthew Dillon
87bd4d6ceb
Fix ether_ntoa() to generate the %02x format people expect, instead of %x,
...
for the ethernet address.
MFC after: 1 day
2002-04-06 05:21:57 +00:00
Thomas Moestl
ca31253aa8
htonl() and ntohl() operate on unsinged types, so they must zero-extend,
...
not sign-extend. Fix a comment in the former to that effect, and change
the latter over to do the right conversion.
2002-04-06 00:07:15 +00:00
Poul-Henning Kamp
6a263fa41d
Initial deorbit burn for the undocumented and unused d_boot[01]
...
fields of struct disklabel.
Sponsored by: DARPA and NAI Labs.
2002-04-03 15:44:53 +00:00
Hajimu UMEMOTO
3d246faa5a
When _kevent() returns with errno = EINTR and timeout is not
...
exceeded, it should be falldown to next_ns.
MFC after: 1 week
2002-04-01 16:09:45 +00:00
Mark Murray
4cd0119367
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
David E. O'Brien
57f8b17ed0
Embellish more.
2002-03-26 23:09:34 +00:00
David E. O'Brien
54a5fb6c94
Embellish the comment.
2002-03-26 23:08:42 +00:00
Bruce Evans
514a0ae7d2
Fixed some style bugs in the removal of __P(()). Some function parameter
...
lists were outdented to column 0.
2002-03-26 01:35:05 +00:00
Dima Dorfman
e10bdff354
A break after a return is useless.
2002-03-24 08:38:21 +00:00
Dima Dorfman
3afe2c7806
Fix braino.
2002-03-24 06:30:28 +00:00
David E. O'Brien
ecaaecd7a4
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00
David E. O'Brien
15164b99cc
W/o __P, the internal declarations will all fit on one line.
2002-03-23 18:22:40 +00:00
David E. O'Brien
d9c0a739c5
Remove these abortive MIPS bits.
2002-03-23 17:55:32 +00:00
Warner Losh
bb28f3c29b
Breath deep and take __P out of the system include files.
...
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
2002-03-23 17:24:55 +00:00
David E. O'Brien
c04447ba03
Standardize on our SCM ID style.
2002-03-23 02:44:19 +00:00
David E. O'Brien
0f4f02856d
Restore CSRG ID's lost in January 1995.
2002-03-23 02:10:28 +00:00
David E. O'Brien
1114a754ed
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:42:05 +00:00
David E. O'Brien
d3d20c8267
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 23:18:37 +00:00
David E. O'Brien
74fd44fc19
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:18:17 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
David E. O'Brien
4b74b09895
Back out last commit (rev 1.2). I thought I caught this file in time
...
when deP'ing. But I guess not.
2002-03-22 19:45:43 +00:00
Alfred Perlstein
b275d8fe48
Constify the first arg to callrpc(3).
2002-03-22 19:19:32 +00:00
David E. O'Brien
078c6f985a
SCM ID tweak.
2002-03-22 09:27:59 +00:00
David E. O'Brien
1372519b15
Remove multi-line __P() usage.
2002-03-22 09:22:15 +00:00
Warner Losh
80578e902c
const poison just like NetBSD.
2002-03-22 02:43:01 +00:00
Warner Losh
ae10a3fcce
Make user_from_uid and group_from_gid return const char *, just like
...
NetBSD. Update man page to reflect this.
2002-03-22 02:35:47 +00:00
David E. O'Brien
c05ac53b8b
Remove __P() usage.
2002-03-21 22:49:10 +00:00
David E. O'Brien
8fb3f3f682
Remove 'register' keyword.
2002-03-21 18:49:23 +00:00
Peter Wemm
cc2dbb21e5
Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwise
...
it causes undefined references to getcontext() and setcontext() on
platforms other than i386 and alpha.
2002-03-21 06:45:32 +00:00
Ruslan Ermilov
6dd2704c7a
mdoc(7) police: Fixed the spammage of this file with trailing whitespaces
...
in revisions 1.26-1.28. Fixed two bugs in punctuation cleanup in rev. 1.27.
Removed hard sentence break not killed by rev. 1.26.
2002-03-20 13:40:08 +00:00
Ruslan Ermilov
c8c5079d10
mdoc(7) police: tidy up.
2002-03-18 15:44:27 +00:00
Dima Dorfman
1dd9f42a29
mdoc(7) police: bump document date to the date of the last interface
...
change (revision 1.2 of devname.c on 1999/07/18), don't put quotes
around a path, and use .Dv where appropriate.
2002-03-18 02:36:43 +00:00
Dima Dorfman
f04938aa8e
Update to reflect reality; devname(3) hasn't returned NULL on failure
...
since revision 1.2 of devname.c (1999/07/18). While I'm here, note,
in the BUGS section, that the returned pointer is to a static buffer.
2002-03-18 02:32:53 +00:00
Dima Dorfman
8c237a536c
Features are deprecated, not depreciated.
...
PR: 35987
Submitted by: shill@free.fr
2002-03-18 01:52:19 +00:00
Dag-Erling Smørgrav
042df45ade
Document PT_IO, and move the comment about machine-dependent requests
...
below PT_[GS]ET_{,DB,FP}REGS.
2002-03-16 03:50:32 +00:00
Dag-Erling Smørgrav
8bd8a375a4
Further cleanup (punctuation, genitive)
2002-03-16 03:26:32 +00:00
Dag-Erling Smørgrav
c2912c0369
Insert newlines between sentences and rewrap paragraphs. No changes to
...
the actual text or markup.
2002-03-16 02:54:17 +00:00
Ruslan Ermilov
d78dca323f
mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions.
2002-03-15 18:04:00 +00:00
Ruslan Ermilov
ba8bcff1e8
mdoc(7) police: Fix xref to timeradd(3).
2002-03-15 17:59:46 +00:00
Ruslan Ermilov
d7396394e7
mdoc(7) police: punctuation nit.
2002-03-15 17:57:41 +00:00
Ruslan Ermilov
dab055db89
bde got caught by mdoc(7) police. :-)
2002-03-15 17:53:20 +00:00
Ruslan Ermilov
9a04350e3d
mdoc(7) police: don't you notice the warnings?
2002-03-15 17:50:21 +00:00
Ruslan Ermilov
f3a90e8782
Come on guys, you can't just take OpenBSD manpage and commit it
...
over someone else's fixes; this is at least offensive. If you
have problems doing a proper merge, we are here, your fellow
committers. :-(
Reapply markup fixes from revision 1.2 and fix some more. Also
fix the $OpenBSD$ tag.
2002-03-15 17:46:53 +00:00
David E. O'Brien
68a6b5e1ba
Remove trailing characters from #endif.
...
Actually this #endif is not needed, so remove leading characters also.
2002-03-15 09:58:45 +00:00
Maxim Konovalov
999ad26edb
Clarify fcntl(2) and flock(2) interoperability.
...
PR: docs/23353
Reviewed by: ru, dillon
Approved by: ru
MFC after: 3 days
2002-03-14 11:02:35 +00:00