| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixed gratuitous ANSIisms.
Fixed nonblocking mode. It was per-device instead of per-file.
|
|
|
|
|
|
| |
Fixed nonblocking mode. It was per-device instead of per-file. This
also fixes clobbering of bd_rtout by overloading it to hold a wrong
version of the blocking flag. I hope nothing depends on the bugs.
|
| |
|
|
|
|
|
|
|
|
| |
Fixed nonblocking mode. It was per-device instead of per-file.
Don't depend on gcc's misfeature of rewriting char args in old-style
function definitions to match wrong prototypes. Break K&R1 support
to fix this quickly.
|
|
|
|
|
|
| |
Fixed bugs in rev.1.35:
- nonblocking mode was per-device instead of per-file.
- lots of style bugs.
|
|
|
|
| |
this file with warnx() defined as a macro.
|
| |
|
|
|
|
|
|
| |
Staticized boot().
Fixed a gratuitous ANSIism.
|
|
|
|
|
|
| |
Fixed a comment to match the code. The code is still wrong
(ffs_checkoverlap() should be staticized and called from a
ddb command).
|
| |
|
|
|
|
|
| |
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()
|
| |
|
| |
|
| |
|
|
|
|
| |
VOP_CREATE, VOP_MKNOD, VOP_SYMLINK and ext2_makeinode().
|
|
|
|
| |
Police <> vs "" #include style.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing in if_ppp.c is good enough.
Added comments about bogus #includes and #defines.
Removed unused #includes.
Don't depend on gcc's misfeature of rewriting short args in old-style
function definitions to match wrong prototypes. I just changed the
function definition to match the prototype, since this is easy to
verify automatically (it causes no changes in the object code), but
it breaks K&R1 support and doesn't fix the pessimal type.
|
|
|
|
|
|
| |
Use gettime() instead of microtime() to set if_lastchange for i/o's.
microtime() is probably too expensive. However, setting if_lastchange
for i/o's may be wrong.
|
|
|
|
|
|
|
|
| |
volatile to use outside of splclock(). microtime() is probably too
expensive to use for every i/o. However, setting ifi_lastchange for
every i/o is just wrong according to the comment about ifi_lastchange
in <net/if.h>. It is set then for atm, fddi and the latest version
of ppp.)
|
|
|
|
| |
Fixed a style bug (one of many KNF breakages in vfs_subr.c moved here).
|
|
|
|
|
| |
<sys/tty.h>. Don't #include <sys/fcntl.h> (the select -> poll
changes removed all dependencies on it).
|
|
|
|
|
| |
to prepare for not including it in <sys/param.h>. Moved conditionally
used #includes inside an ifdef.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and don't include <sys/fcntl.h>. (The select -> poll changes replaced
fcntl macros by poll macros.)
Use <machine/*.h> instead of <i386/include/*.h>.
Fail the probe instead of crashing in the unlikely event that malloc()
fails.
|
| |
|
|
|
|
|
|
| |
Fixed #include order. <i386/isa/isa_device.h> will soon be a prerequisite
for <i386/isa/pnp.h>. Including both in alphebetical order gets this
right naturally.
|
|
|
|
| |
Ifdefed #includes that are not used in the SMP case.
|
| |
|
|
|
|
| |
Added a used #include (don't depend on yet to be fixed namespace pollution).
|
|
|
|
|
| |
zalloc(). Many more cases like this are probably obscured by not
including <vm/zone.h> explicitly (it is spammed into <sys/malloc.h>).
|
|
|
|
|
|
|
|
|
|
| |
years and gives a "laugh"able number of compile-time errors (see the
comment). main() just printed the struct sizes. This can be done
better by compiling with -g and reading off the sizes from the stabs.
Sorted #includes.
Fixed an unsigned vs signed comparison.
|
| |
|
|
|
|
|
|
|
| |
place that depended on it. The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more. It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.
|
|
|
|
|
|
|
|
|
|
|
| |
place that depended on it. The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more. It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.
Don't forward declare structs that are already implicitly forward declared.
Fixed a disordered declaration.
|
| |
|
|
|
|
|
|
|
|
|
| |
to fix some broken application. Application breakage is now hidden by a
recently introduced wrong #include of <sys/types.h> in <sys/time.h>.
<sys/time.h> is a prerequisite for <sys/resource.h>, so the <sys/types.h>
prereqisite is automatically supplied.
Cast RLIM_INFINITY to the correct (signed) type.
|
| |
|
|
|
|
|
| |
__ELF__ case of the definition of MAKE_SET() and in the PSEUDO_LKM
case of the definition of PSEUDO_SET().
|
|
|
|
| |
definition of DOMAIN_SET().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
consistent.
|
| |
|
| |
|
|
|
|
|
|
| |
the end since pdk deleted them.
Forgotten by: phk
|
| |
|