jhb
dc10f00554
Cosmetic cleanup to a message.
2002-09-11 19:49:43 +00:00
peter
ac6d4d2a86
Sometime after binutils-2.9 (ie: ages ago), the handling of __start_set_*
...
and __stop_set_* became friendlier. This trick to force the export
of the section delimiter symbols is no longer necessary. We needed to
force this so that we could look up the symbols via a symbol table search
when the module was loaded at run time. ld used to eliminate them if
they were not referenced at compile/link time.
2002-09-11 19:08:09 +00:00
peter
13786391ba
Commit "unrelated style fixes" part of Bruce's patch (regarding
...
bcopy/memcpy) seperately.
Submitted by: bde
2002-09-11 18:16:40 +00:00
julian
06f500f894
Indentation does not make a block.. need curly braces too.
...
Submitted by: Eagle-eyes evans <bde@freebsd.org>
2002-09-11 18:15:26 +00:00
peter
117de6ded0
Modify previous commit to solve the real problem that made gcc think
...
the timestamp was aligned. ie: Use a void * instead of struct timeval *
which gcc assumes will be aligned. Go back to memcpy().
Submitted by: bde
2002-09-11 18:12:29 +00:00
peter
2a63985c69
I completely fubared this. An empty EXPORT_SYMS= is not valid. I know I
...
build this several times, and even tested loaded the module. I must have
changed something right before commit.
Pointed out by: bde
2002-09-11 18:03:03 +00:00
rwatson
809f9dfed1
Whitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use
...
tabs not spaces.
2002-09-11 16:51:48 +00:00
nectar
c9164bea19
In kvm_openfiles/kvm_open, mark the file descriptors as close-on-exec.
...
Applications can not do this themselves, as the descriptors are hidden
behind the opaque `kvm_t' type.
2002-09-11 16:41:39 +00:00
nectar
927cfce43e
Correct a usage of fnctl that could not be right and results in a
...
no-op. I assume it was meant that the close-on-exec flag be set here.
2002-09-11 16:38:33 +00:00
phk
d748f0673d
It's bad enough people can't figure out to use the same code, or in
...
this case, ugly macros, but the data tables can be reused:
Put one copy of the software HDLC tables in its own file.
2002-09-11 12:44:58 +00:00
tg
bf5dfd3bb3
Fix spelling of Bismarck's name and remove duplicate
...
Bertrand Russell quotations.
2002-09-11 11:21:36 +00:00
julian
5900af2d68
correct another spammage.. sorry bruce.. not exactly sure how my patch
...
reverted out your change but hopefully that's it..
2002-09-11 09:08:53 +00:00
julian
17ac8636d1
revert a line that was not part of my change..
...
I think it was a part of someone else's commit that
somehow got reverted by my patch.
2002-09-11 09:04:02 +00:00
tjr
5f5cd9d0b8
Add an implementation of wcsftime() (wide character version of strftime()).
2002-09-11 08:57:11 +00:00
julian
8985bac5bf
Comment and whitespace changes.
2002-09-11 08:25:35 +00:00
julian
5702a380a5
Completely redo thread states.
...
Reviewed by: davidxu@freebsd.org
2002-09-11 08:13:56 +00:00
bde
58f594ebe3
Include <vm/uma.h> instead of depending on namespace pollution in
...
<sys/malloc.h>.
Sorted includes as much as possible. Removed banal comment(s) attached to
includes.
2002-09-11 07:13:28 +00:00
njl
b6c4bef8cf
Fix LINT build on alpha by completing move of cy and apm_saver to
...
i386/conf/NOTES rather than the global conf/NOTES.
Suggested by: bde
2002-09-11 05:33:15 +00:00
mike
57d52b441f
Add `restrict' type-qualifier.
2002-09-11 05:05:48 +00:00
mike
c19bfb71ea
Conditionalize some objects to match the functions that they are used
...
with. Enable `restrict' type-qualifier.
2002-09-11 05:04:06 +00:00
obrien
aafb6a8754
Add support for the AMD x86-64 Hammer platform.
2002-09-11 04:57:09 +00:00
mike
ee94c6be46
Some uses of the variable n needed to be int, others needed to be
...
size_t. Add a new variable to cope.
2002-09-11 04:26:09 +00:00
imp
2ded912cbd
Clarify the return value from child_present.
2002-09-11 04:22:10 +00:00
arr
1edd1ad4f2
- Lock down the accounting code globals with a subsystem mutex.
...
Reviewed by: jhb, mdodd
2002-09-11 04:10:41 +00:00
gordon
82394dd4ea
Quiet warnings about non-existent scripts. My own fault for not testing my
...
own patches as well as I should.
2002-09-11 01:00:57 +00:00
mike
6c06606f5b
Unbreak world by fixing 4 syntax errors and 1 wrong variable type.
2002-09-11 01:00:56 +00:00
benno
f69ecac521
Remember who asked for a connect or accept operation so we can actually tell
...
them when it's done.
Reviewed by: archie
2002-09-11 00:52:50 +00:00
fanf
c01083a28d
Fix style bugs in macros.
2002-09-10 21:14:14 +00:00
fanf
2ce47bcfdf
Tidy up the base64 code and relax the error handling.
2002-09-10 21:10:33 +00:00
archie
02e28a1d0c
Adjust to reflect reality, which is that sigaltstack() takes stack_t *'s.
...
MFC after: 3 days
2002-09-10 21:06:51 +00:00
fanf
5cb3e55396
Style: Don't treat pointers as booleans.
2002-09-10 20:53:46 +00:00
fanf
0df46c2bed
Fix tilde-expansion of the filename obtained from the "begin" line in -s
...
mode, and be more accurate about identifying begin lines so that spurious
ones don't have to be manually edited out, and be more forgiving about
errors so that -c mode is more useful.
2002-09-10 20:48:44 +00:00
fanf
02ac4ff9b2
Replace a goto with continue.
2002-09-10 20:33:39 +00:00
fanf
c5e31d5ee6
Remove register keyword.
2002-09-10 19:23:44 +00:00
fanf
ec1f90b434
Style: space after return.
2002-09-10 18:52:03 +00:00
mike
416d785654
Fix some style bugs:
...
o Space used instead of a tab after `#define' and `typedef'.
o Sentences not ended with a period.
o Unaligned function names and other spacing issues.
2002-09-10 18:41:45 +00:00
fanf
f0b6e43cfb
Make the handling of -i neater.
2002-09-10 18:34:07 +00:00
fanf
e7f41abf9d
Only try to chmod the output if it's a regular file, rather than
...
hard-coding /dev/stdout as a special case.
Suggested by: jmallett
2002-09-10 18:28:19 +00:00
bmah
1f3c15fd94
New release notes: gre(4), kern.cam.scsi_delay tunable.
2002-09-10 18:22:40 +00:00
mike
520d2c38c6
Fix namespace issues by using the relatively new visibility
...
primitives.
2002-09-10 18:12:16 +00:00
arr
13b9ff97a2
- Forgot to remove cardattached
declaration in revision 1.22.
2002-09-10 16:50:06 +00:00
phk
6be713fb9f
Add missing calls to mtx_init().
...
It seems counter-intuitive that all drivers have to do this.
Pointed in right direction by: gj
2002-09-10 16:41:08 +00:00
robert
fef1f5b972
Add a paragraph which should clarify the separation of asterisks
...
and adjacent tokens in declarations.
The added text was originally a single sentence I wrote and which
was heavily modified and extended by Bruce Evans.
This clarification attempt originates from differing usage of the
'restrict' type-qualifier.
Although various documents documents dicussing the C Programming
Language put a space between an asterisk and the 'restrict' keyword,
including the C99 standard (at least the n869.txt draft) and other
ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document
does not separate them.
Discussed with: bde
Requested by: tjr
Separation using a single space also liked by: mike
2002-09-10 14:48:38 +00:00
thomas
cf69565b5f
Prevent the wrapper from looping on itself forever, when there
...
is a symbolic link in the PATH pointing back to /usr/bin/perl.
Change WARNS from 6 to 5 to account for the fact that sys/time.h,
included from sys/stat.h, produces a warning when compiled with
-pedantic.
PR: bin/42418
Reviewed by: roberto
2002-09-10 13:56:30 +00:00
bde
0cf07ebe50
Fixed namespace pollution in uma changes:
...
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque. Such types should never be used (see style(9)).
"Fixed" subsequently grown dependencies of this header on its own
pollution by polluting explicitly:
- include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution 2 layers deep in <sys/uma.h>.
2002-09-10 13:48:21 +00:00
nyan
0dedf1f92a
The boot floppy requires the lnc driver.
2002-09-10 13:11:03 +00:00
nyan
2dbad8d7c5
Remove unused code.
2002-09-10 13:08:23 +00:00
nyan
068e34af19
Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
...
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)
2002-09-10 13:06:53 +00:00
bde
35091030c1
Include <sys/malloc.h> instead of depending on namespace pollution 2
...
layers deep in <sys/proc.h> or <sys/vnode.h>.
2002-09-10 12:45:02 +00:00
bde
76b3173c28
Fixed namespace pollution in uma changes:
...
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque. Such types should never be used (see style(9)).
2002-09-10 12:19:16 +00:00