]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoTry to detect support for the `long long' type so that ANSI-C[89] clean
obrien [Thu, 12 Sep 2002 16:05:56 +0000 (16:05 +0000)]
Try to detect support for the `long long' type so that ANSI-C[89] clean
code will know not to try to use `long long'.
Unfortunately the GCC spec parser will not allow us to properly detect the
"iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments,
because of the ':' in the -std argument.  :-(  I have left them in the spec
as a place holder in hopes someone knows a way to make the detection of
them work.

Desired by: wollman

21 years agoWe're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
obrien [Thu, 12 Sep 2002 15:56:21 +0000 (15:56 +0000)]
We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.

21 years agoFix the GENERIC build. Don't refer to the non-existant fw_one_pass.
obrien [Thu, 12 Sep 2002 15:36:13 +0000 (15:36 +0000)]
Fix the GENERIC build.  Don't refer to the non-existant fw_one_pass.

21 years agoAdd preliminary mostly untested support for the Silicon Image Sil680 chip.
sos [Thu, 12 Sep 2002 15:25:59 +0000 (15:25 +0000)]
Add preliminary mostly untested support for the Silicon Image Sil680 chip.

21 years agoEnd of initial effort of the translation of the CURRENT release notes. Now
gioria [Thu, 12 Sep 2002 15:21:02 +0000 (15:21 +0000)]
End of initial effort of the translation of the CURRENT release notes. Now
need to update :-(((

21 years agoChange a couple of splcam() calls that do not make sense in atapi-cam
thomas [Thu, 12 Sep 2002 15:15:33 +0000 (15:15 +0000)]
Change a couple of splcam() calls that do not make sense in atapi-cam
(what we want to mask is the ATA interrupts, which run at level splbio),
and add interrupt masking around the statement that modifies the
request queue for a SIM.

This resolves problems reported by users under heavy ATAPI load.

Reviewed by: roberto

21 years agoEnd of translation of section "Contributed Software"
gioria [Thu, 12 Sep 2002 14:45:50 +0000 (14:45 +0000)]
End of translation of section "Contributed Software"

21 years agoRearrange where to get the ATAPI magic sequence.
sos [Thu, 12 Sep 2002 14:32:33 +0000 (14:32 +0000)]
Rearrange where to get the ATAPI magic sequence.

Submitted by: Benjamin Close <cisbjc@cs.unisa.edu.au>

21 years agoUse the proper fields for security.
sos [Thu, 12 Sep 2002 14:08:28 +0000 (14:08 +0000)]
Use the proper fields for security.

PR: 41870

21 years agoWait for drive to become ready if its in progress of loading..
sos [Thu, 12 Sep 2002 13:55:24 +0000 (13:55 +0000)]
Wait for drive to become ready if its in progress of loading..
Based on patch in PR-42659, but done somewhat differently.

PR: 42659

21 years agoDont hang in atprq on poll_dsc command.
sos [Thu, 12 Sep 2002 13:53:33 +0000 (13:53 +0000)]
Dont hang in atprq on poll_dsc command.
This is a temporary fix until I get proper locking done.

Submitted by: iedowse@maths.tcd.ie

21 years agoFixed style bugs in resource_list_add_next().
bde [Thu, 12 Sep 2002 13:45:38 +0000 (13:45 +0000)]
Fixed style bugs in resource_list_add_next().

21 years agoProtect arguments to the putwc and putwchar macros with parens.
tjr [Thu, 12 Sep 2002 10:27:48 +0000 (10:27 +0000)]
Protect arguments to the putwc and putwchar macros with parens.

21 years agoCorrect type of second argument: it is wchar_t ** restrict,
tjr [Thu, 12 Sep 2002 09:25:27 +0000 (09:25 +0000)]
Correct type of second argument: it is wchar_t ** restrict,
not wchar_t * restrict.

21 years ago- Fix two obvious locking bugs; 1) returning with lock held when it needed
arr [Thu, 12 Sep 2002 05:00:32 +0000 (05:00 +0000)]
- Fix two obvious locking bugs; 1) returning with lock held when it needed
  to be dropped, 2) attempting to lock acct_mtx while already holding it.
  Sorry to those who experienced pain.
- Added two comments referring to two areas in which acct_mtx is held over
  vnode operations that might sleep.  Patch in the works for this.

21 years agoAdd AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
anholt [Thu, 12 Sep 2002 04:23:18 +0000 (04:23 +0000)]
Add AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.

21 years agoMake bridging and layer2-ipfw obey net.inet.ip.fw.one_pass.
luigi [Thu, 12 Sep 2002 01:05:46 +0000 (01:05 +0000)]
Make bridging and layer2-ipfw obey net.inet.ip.fw.one_pass.
I should have committed this ages ago.

The MFC for if_ethersubr.c could be done in the usual few days (only
ipfw2 uses it), the one for bridge.c should probably wait until
after 4.7 because it changes an existing though mostly undocumented
behaviour (on which i hope nobody relies). All in all, i'll wait for
both things unless there is demand.

MFC after: 35 days

21 years agoStore the port number in "fwd" rules in host format, same as ipfw1
luigi [Thu, 12 Sep 2002 00:45:32 +0000 (00:45 +0000)]
Store the port number in "fwd" rules in host format, same as ipfw1
has always done.

Technically, this is the wrong format, but it reduces the diffs in
-stable. Someday, when we get rid of ipfw1, I will put the port number
in the proper format both in kernel and userland.

MFC after: 3 days
(with re@ permission)

21 years agoUpdate to reflect reality.
archie [Wed, 11 Sep 2002 21:40:02 +0000 (21:40 +0000)]
Update to reflect reality.

Reviewed by: mini
MFC after: 3 days

21 years agoAdd man pages for getcontext()/setcontext(), makecontext()/swapcontext(),
archie [Wed, 11 Sep 2002 21:39:21 +0000 (21:39 +0000)]
Add man pages for getcontext()/setcontext(), makecontext()/swapcontext(),
and ucontext_t.

Reviewed by: mini
MFC after: 3 days

21 years agoOnly probe one PHY on the D-Link 580 version of the card (ie rev 0x12).
ambrisko [Wed, 11 Sep 2002 21:26:22 +0000 (21:26 +0000)]
Only probe one PHY on the D-Link 580 version of the card (ie rev 0x12).
The 550 version is location at address 1 but since it works right we
let the code find whatever PHY it can.

Fix a fragment issue on TX.  If the number of frags are more then the
driver has allocated then bring all the frags together into one packet
and send it out.  Code derived from the fxp driver.

Tested and found by: Francois Tigeot <francois.tigeot@nic.fr>
Hellmuth Michaelis <hm@kts.org>

MFC after: 1 week

21 years ago- Change utrace ktrace events to malloc the work buffer before getting a
jhb [Wed, 11 Sep 2002 21:00:56 +0000 (21:00 +0000)]
- Change utrace ktrace events to malloc the work buffer before getting a
  request structure.
- Re-optimize the case of utrace being disabled by doing an explicit
  KTRPOINT check instead of relying on the one in ktr_getrequest() so that
  we don't waste time on a malloc in the non-tracing case.
- Change utrace() to return an error if the copyin() fails.  Before it
  would just ignore the request but still return success.  This last is
  a change in behavior and can be backed out if necessary.

21 years agoRemove support for synchronous ktrace requests now that none exist anymore.
jhb [Wed, 11 Sep 2002 20:58:10 +0000 (20:58 +0000)]
Remove support for synchronous ktrace requests now that none exist anymore.
They were an ugly, gross hack.

21 years ago- Change ktrace genio events to only copy up to ktr_geniosize bytes of a
jhb [Wed, 11 Sep 2002 20:56:05 +0000 (20:56 +0000)]
- Change ktrace genio events to only copy up to ktr_geniosize bytes of a
  transfer to a malloc'd buffer and use that bufer for the ktrace event.
  This means that genio ktrace events no longer need to be synchronous.
- Now that ktr_buffer isn't overloaded to sometimes point to a cached uio
  pointer for genio requests and always points to a malloc'd buffer if not
  NULL, free the buffer in ktr_freerequest() instead of in
  ktr_writerequest().  This closes a memory leak for ktrace events that
  used a malloc'd buffer that had their vnode ripped out from under them
  while they were on the todo list.

Suggested by: bde (1, in principle)

21 years ago- Add a kern.ktrace sysctl node.
jhb [Wed, 11 Sep 2002 20:49:55 +0000 (20:49 +0000)]
- Add a kern.ktrace sysctl node.
- Rename kern.ktrace_request_pool tunable/sysctl to
  kern.ktrace.request_pool.
- Add a variable to control the max amount of data to log for genio events.
  This variable is tunable via the tunable/sysctl kern.ktrace.genio_size
  and defaults to one page.

21 years agoChange namei and syscall ktrace events to malloc work buffers before
jhb [Wed, 11 Sep 2002 20:46:50 +0000 (20:46 +0000)]
Change namei and syscall ktrace events to malloc work buffers before
obtaining a ktr_request structure from the free pool so we can avoid
starving other threads of ktr_request structures.

21 years agoSomebody forgot to turn out the lights.
peter [Wed, 11 Sep 2002 20:20:38 +0000 (20:20 +0000)]
Somebody forgot to turn out the lights.
(ie: These files are long since obsolete)

21 years agoCosmetic cleanup to a message.
jhb [Wed, 11 Sep 2002 19:49:43 +0000 (19:49 +0000)]
Cosmetic cleanup to a message.

21 years agoSometime after binutils-2.9 (ie: ages ago), the handling of __start_set_*
peter [Wed, 11 Sep 2002 19:08:09 +0000 (19:08 +0000)]
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.

21 years agoCommit "unrelated style fixes" part of Bruce's patch (regarding
peter [Wed, 11 Sep 2002 18:16:40 +0000 (18:16 +0000)]
Commit "unrelated style fixes" part of Bruce's patch (regarding
bcopy/memcpy) seperately.

Submitted by:  bde

21 years agoIndentation does not make a block.. need curly braces too.
julian [Wed, 11 Sep 2002 18:15:26 +0000 (18:15 +0000)]
Indentation does not make a block.. need curly braces too.
Submitted by: Eagle-eyes evans <bde@freebsd.org>

21 years agoModify previous commit to solve the real problem that made gcc think
peter [Wed, 11 Sep 2002 18:12:29 +0000 (18:12 +0000)]
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

21 years agoI completely fubared this. An empty EXPORT_SYMS= is not valid. I know I
peter [Wed, 11 Sep 2002 18:03:03 +0000 (18:03 +0000)]
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

21 years agoWhitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use
rwatson [Wed, 11 Sep 2002 16:51:48 +0000 (16:51 +0000)]
Whitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use
tabs not spaces.

21 years agoIn kvm_openfiles/kvm_open, mark the file descriptors as close-on-exec.
nectar [Wed, 11 Sep 2002 16:41:39 +0000 (16:41 +0000)]
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.

21 years agoCorrect a usage of fnctl that could not be right and results in a
nectar [Wed, 11 Sep 2002 16:38:33 +0000 (16:38 +0000)]
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.

21 years agoIt's bad enough people can't figure out to use the same code, or in
phk [Wed, 11 Sep 2002 12:44:58 +0000 (12:44 +0000)]
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.

21 years agoFix spelling of Bismarck's name and remove duplicate
tg [Wed, 11 Sep 2002 11:21:36 +0000 (11:21 +0000)]
Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.

21 years agocorrect another spammage.. sorry bruce.. not exactly sure how my patch
julian [Wed, 11 Sep 2002 09:08:53 +0000 (09:08 +0000)]
correct another spammage.. sorry bruce.. not exactly sure how my patch
reverted out your change but hopefully that's it..

21 years agorevert a line that was not part of my change..
julian [Wed, 11 Sep 2002 09:04:02 +0000 (09:04 +0000)]
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.

21 years agoAdd an implementation of wcsftime() (wide character version of strftime()).
tjr [Wed, 11 Sep 2002 08:57:11 +0000 (08:57 +0000)]
Add an implementation of wcsftime() (wide character version of strftime()).

21 years agoComment and whitespace changes.
julian [Wed, 11 Sep 2002 08:25:35 +0000 (08:25 +0000)]
Comment and whitespace changes.

21 years agoCompletely redo thread states.
julian [Wed, 11 Sep 2002 08:13:56 +0000 (08:13 +0000)]
Completely redo thread states.

Reviewed by: davidxu@freebsd.org

21 years agoInclude <vm/uma.h> instead of depending on namespace pollution in
bde [Wed, 11 Sep 2002 07:13:28 +0000 (07:13 +0000)]
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.

21 years agoFix LINT build on alpha by completing move of cy and apm_saver to
njl [Wed, 11 Sep 2002 05:33:15 +0000 (05:33 +0000)]
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

21 years agoAdd `restrict' type-qualifier.
mike [Wed, 11 Sep 2002 05:05:48 +0000 (05:05 +0000)]
Add `restrict' type-qualifier.

21 years agoConditionalize some objects to match the functions that they are used
mike [Wed, 11 Sep 2002 05:04:06 +0000 (05:04 +0000)]
Conditionalize some objects to match the functions that they are used
with.  Enable `restrict' type-qualifier.

21 years agoAdd support for the AMD x86-64 Hammer platform.
obrien [Wed, 11 Sep 2002 04:57:09 +0000 (04:57 +0000)]
Add support for the AMD x86-64 Hammer platform.

21 years agoSome uses of the variable n needed to be int, others needed to be
mike [Wed, 11 Sep 2002 04:26:09 +0000 (04:26 +0000)]
Some uses of the variable n needed to be int, others needed to be
size_t.  Add a new variable to cope.

21 years agoClarify the return value from child_present.
imp [Wed, 11 Sep 2002 04:22:10 +0000 (04:22 +0000)]
Clarify the return value from child_present.

21 years ago- Lock down the accounting code globals with a subsystem mutex.
arr [Wed, 11 Sep 2002 04:10:41 +0000 (04:10 +0000)]
- Lock down the accounting code globals with a subsystem mutex.

Reviewed by: jhb, mdodd

21 years agoQuiet warnings about non-existent scripts. My own fault for not testing my
gordon [Wed, 11 Sep 2002 01:00:57 +0000 (01:00 +0000)]
Quiet warnings about non-existent scripts. My own fault for not testing my
own patches as well as I should.

21 years agoUnbreak world by fixing 4 syntax errors and 1 wrong variable type.
mike [Wed, 11 Sep 2002 01:00:56 +0000 (01:00 +0000)]
Unbreak world by fixing 4 syntax errors and 1 wrong variable type.

21 years agoRemember who asked for a connect or accept operation so we can actually tell
benno [Wed, 11 Sep 2002 00:52:50 +0000 (00:52 +0000)]
Remember who asked for a connect or accept operation so we can actually tell
them when it's done.

Reviewed by: archie

21 years agoFix style bugs in macros.
fanf [Tue, 10 Sep 2002 21:14:14 +0000 (21:14 +0000)]
Fix style bugs in macros.

21 years agoTidy up the base64 code and relax the error handling.
fanf [Tue, 10 Sep 2002 21:10:33 +0000 (21:10 +0000)]
Tidy up the base64 code and relax the error handling.

21 years agoAdjust to reflect reality, which is that sigaltstack() takes stack_t *'s.
archie [Tue, 10 Sep 2002 21:06:51 +0000 (21:06 +0000)]
Adjust to reflect reality, which is that sigaltstack() takes stack_t *'s.

MFC after: 3 days

21 years agoStyle: Don't treat pointers as booleans.
fanf [Tue, 10 Sep 2002 20:53:46 +0000 (20:53 +0000)]
Style: Don't treat pointers as booleans.

21 years agoFix tilde-expansion of the filename obtained from the "begin" line in -s
fanf [Tue, 10 Sep 2002 20:48:44 +0000 (20:48 +0000)]
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.

21 years agoReplace a goto with continue.
fanf [Tue, 10 Sep 2002 20:33:39 +0000 (20:33 +0000)]
Replace a goto with continue.

21 years agoRemove register keyword.
fanf [Tue, 10 Sep 2002 19:23:44 +0000 (19:23 +0000)]
Remove register keyword.

21 years agoStyle: space after return.
fanf [Tue, 10 Sep 2002 18:52:03 +0000 (18:52 +0000)]
Style: space after return.

21 years agoFix some style bugs:
mike [Tue, 10 Sep 2002 18:41:45 +0000 (18:41 +0000)]
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.

21 years agoMake the handling of -i neater.
fanf [Tue, 10 Sep 2002 18:34:07 +0000 (18:34 +0000)]
Make the handling of -i neater.

21 years agoOnly try to chmod the output if it's a regular file, rather than
fanf [Tue, 10 Sep 2002 18:28:19 +0000 (18:28 +0000)]
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

21 years agoNew release notes: gre(4), kern.cam.scsi_delay tunable.
bmah [Tue, 10 Sep 2002 18:22:40 +0000 (18:22 +0000)]
New release notes:  gre(4), kern.cam.scsi_delay tunable.

21 years agoFix namespace issues by using the relatively new visibility
mike [Tue, 10 Sep 2002 18:12:16 +0000 (18:12 +0000)]
Fix namespace issues by using the relatively new visibility
primitives.

21 years ago- Forgot to remove `cardattached` declaration in revision 1.22.
arr [Tue, 10 Sep 2002 16:50:06 +0000 (16:50 +0000)]
- Forgot to remove `cardattached` declaration in revision 1.22.

21 years agoAdd missing calls to mtx_init().
phk [Tue, 10 Sep 2002 16:41:08 +0000 (16:41 +0000)]
Add missing calls to mtx_init().

It seems counter-intuitive that all drivers have to do this.

Pointed in right direction by: gj

21 years agoAdd a paragraph which should clarify the separation of asterisks
robert [Tue, 10 Sep 2002 14:48:38 +0000 (14:48 +0000)]
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

21 years agoPrevent the wrapper from looping on itself forever, when there
thomas [Tue, 10 Sep 2002 13:56:30 +0000 (13:56 +0000)]
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

21 years agoFixed namespace pollution in uma changes:
bde [Tue, 10 Sep 2002 13:48:21 +0000 (13:48 +0000)]
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>.

21 years agoThe boot floppy requires the lnc driver.
nyan [Tue, 10 Sep 2002 13:11:03 +0000 (13:11 +0000)]
The boot floppy requires the lnc driver.

21 years agoRemove unused code.
nyan [Tue, 10 Sep 2002 13:08:23 +0000 (13:08 +0000)]
Remove unused code.

21 years agoUse ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
nyan [Tue, 10 Sep 2002 13:06:53 +0000 (13:06 +0000)]
Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)

21 years agoInclude <sys/malloc.h> instead of depending on namespace pollution 2
bde [Tue, 10 Sep 2002 12:45:02 +0000 (12:45 +0000)]
Include <sys/malloc.h> instead of depending on namespace pollution 2
layers deep in <sys/proc.h> or <sys/vnode.h>.

21 years agoFixed namespace pollution in uma changes:
bde [Tue, 10 Sep 2002 12:19:16 +0000 (12:19 +0000)]
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)).

21 years agoInclude <sys/malloc.h> instead of depending on namespace pollution 2
bde [Tue, 10 Sep 2002 11:57:02 +0000 (11:57 +0000)]
Include <sys/malloc.h> instead of depending on namespace pollution 2
layers deep in <sys/proc.h> or <sys/vnode.h>.

Removed unused includes.  Sorted includes.

21 years agovfs_syscalls.c:
bde [Tue, 10 Sep 2002 11:09:13 +0000 (11:09 +0000)]
vfs_syscalls.c:
Changed rename(2) to follow the letter of the POSIX spec.  POSIX
requires rename() to have no effect if its args "resolve to the same
existing file".  I think "file" can only reasonably be read as referring
to the inode, although the rationale and "resolve" seem to say that
sameness is at the level of (resolved) directory entries.

ext2fs_vnops.c, ufs_vnops.c:
Replaced code that gave the historical BSD behaviour of removing one
link name by checks that this code is now unreachable.  This fixes
some races.  All vnodes needed to be unlocked for the removal, and
locking at another level using something like IN_RENAME was not even
attempted, so it was possible for rename(x, y) to return with both x
and y removed even without any unlink(2) syscalls (one process can
remove x using rename(x, y) and another process can remove y using
rename(y, x)).

Prodded by: alfred
MFC after: 8 weeks
PR: 42617

21 years agoRemove a sentence about wrapping macro definitions in bare braces,
fanf [Tue, 10 Sep 2002 10:54:39 +0000 (10:54 +0000)]
Remove a sentence about wrapping macro definitions in bare braces,
which became wrong after using do { } while (0) became recommended.
Move the definition of what braces are to their new first occurrence.

Reviewed by: bde

21 years agoCosmetics: #define NETATALK --> #define NETATALK 1, so that it is in line with
sobomax [Tue, 10 Sep 2002 10:19:03 +0000 (10:19 +0000)]
Cosmetics: #define NETATALK --> #define NETATALK 1, so that it is in line with
other #define FOO.

21 years agoReplace FILE with struct __sFILE in the prototypes for the wide character
tjr [Tue, 10 Sep 2002 09:43:28 +0000 (09:43 +0000)]
Replace FILE with struct __sFILE in the prototypes for the wide character
I/O functions to avoid having to bring in pollution from <stdio.h>.

Suggested by: bde

21 years agoRemove superfluous break.
sobomax [Tue, 10 Sep 2002 09:18:33 +0000 (09:18 +0000)]
Remove superfluous break.

21 years agoRemove extraneous extern from function prototype introduced in rev.1.14.
sobomax [Tue, 10 Sep 2002 08:20:30 +0000 (08:20 +0000)]
Remove extraneous extern from function prototype introduced in rev.1.14.

21 years agoreprobe not needed here either
imp [Tue, 10 Sep 2002 06:37:56 +0000 (06:37 +0000)]
reprobe not needed here either

21 years agoRemove more bogus reprobe code. I don't think it is needed here either.
imp [Tue, 10 Sep 2002 06:37:02 +0000 (06:37 +0000)]
Remove more bogus reprobe code.  I don't think it is needed here either.

21 years agoo Dike out the bogus reprobe stuff. It was getting in the way of newbus' own
imp [Tue, 10 Sep 2002 06:32:18 +0000 (06:32 +0000)]
o Dike out the bogus reprobe stuff.  It was getting in the way of newbus' own
  reprobe code working.  This bogusness was thrust upon me.
o Don't delete the device if no drivers attach.  I had thrust this bogusness
  upon others.

These two changes make kldload of a pccard driver work again.

21 years agoregen for 1.34
imp [Tue, 10 Sep 2002 06:29:50 +0000 (06:29 +0000)]
regen for 1.34

21 years agoAdd ARGOSY SP320
imp [Tue, 10 Sep 2002 06:29:09 +0000 (06:29 +0000)]
Add ARGOSY SP320

cis submitted by: phk

21 years agomove some printfs under bootverbose
sam [Tue, 10 Sep 2002 05:06:48 +0000 (05:06 +0000)]
move some printfs under bootverbose

Reviewed by: phk

21 years ago- Spell "these" properly.
arr [Tue, 10 Sep 2002 03:58:44 +0000 (03:58 +0000)]
- Spell "these" properly.

21 years agoUpdate to use *.tbz suffix, also update example URL.
bmah [Tue, 10 Sep 2002 02:42:59 +0000 (02:42 +0000)]
Update to use *.tbz suffix, also update example URL.

While I'm here, fix a gramm-o.

PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day

21 years agoImplement C99's _Exit() interface.
wollman [Tue, 10 Sep 2002 02:04:49 +0000 (02:04 +0000)]
Implement C99's _Exit() interface.
Implement a version of qsort that provides a thunk to the comparison function.

Update manual pages.

21 years agoWithout fixing the namespace issues, add prototypes for the new _Exit()
wollman [Tue, 10 Sep 2002 02:02:49 +0000 (02:02 +0000)]
Without fixing the namespace issues, add prototypes for the new _Exit()
and qsort_r() functions.  Fix one other missorted declaration.

21 years agoAdd the 1109 incident.
grog [Tue, 10 Sep 2002 00:07:19 +0000 (00:07 +0000)]
Add the 1109 incident.

21 years agoSigh, finally activate pkgwrap.c.
sobomax [Mon, 9 Sep 2002 22:59:06 +0000 (22:59 +0000)]
Sigh, finally activate pkgwrap.c.

Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>

21 years agoFix syscons so it actually does start.
gordon [Mon, 9 Sep 2002 22:40:34 +0000 (22:40 +0000)]
Fix syscons so it actually does start.

Reported by: keramida, ume
Submitted by: keramida

21 years agoNew Translation
gioria [Mon, 9 Sep 2002 22:26:07 +0000 (22:26 +0000)]
New Translation

21 years agoAdding infrastructure for harware notes
gioria [Mon, 9 Sep 2002 22:09:48 +0000 (22:09 +0000)]
Adding infrastructure for harware notes

21 years agoContinuing translation
gioria [Mon, 9 Sep 2002 21:21:48 +0000 (21:21 +0000)]
Continuing translation