| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
s/bytes/characters/g to be consistent with Standard C terminology.
Update date and add RCS Id.
|
|
|
|
|
| |
a potentally inflammatory comment from BUGS, and add a more useful comment
about the lack of reentrancy in the timezone-setting interface.
|
|
|
|
|
|
|
|
| |
is actually mounted on "/" can be determined using statfs() and is
in /dev. This fixes fsck operating on the wrong device when the
fs_spec entry is only an alias. The aliased case became more
dangerous when the ROOTSLICE_HUNT hack was committed in mount(8).
ROOTSLICE_HUNT may be unnecessary now.
|
|
|
|
| |
Removed bogus prerequisite <sys/types.h>.
|
|
|
|
|
|
| |
Set_Boot_Blocks() anyway and should thus have never been a part of
libdisk, it should have been provided by the client of libdisk since
passing the information in is already part of the API.
|
|
|
|
| |
are now there.
|
|
|
|
| |
somehow being available even on pure elf systems.
|
| |
|
|
|
|
|
| |
i386's with 64-bit longs -- the padding between mmap()'s 5th and 6th
is an int, not a long. The other mismatches were benign.
|
|
|
|
| |
Fixed `make cleandepend'. The default is null because SRCS is null.
|
| |
|
|
|
|
|
|
|
| |
bring in stddef.h so we can use NULL instead of 0 for pointer comparisons.
Hinted at by: Bruce Evans
Reviewed by: John Polstra
|
|
|
|
| |
compilers.
|
|
|
|
|
|
| |
Rename 'cerror' to '.cerror' so that programs which have a function or
global variable named 'cerror' don't completely break the syscall error
reporting mechanism.
|
|
|
|
|
|
|
|
|
|
| |
#include <ieeefp.h>
to access these functions instead of the i386 specific
#include <machine/floatingpoint.h>
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
| |
|
|
|
|
| |
ctime_r, gmtime_r, and localtime_r.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: "Richard Seaman, Jr." <lists@tar.com>
Obtained from: linux :-)
Code to allow Linux Threads to run under FreeBSD.
By default not enabled
This code is dependent on the conditional
COMPAT_LINUX_THREADS (suggested by Garret)
This is not yet a 'real' option but will be within some number of hours.
|
|
|
|
| |
Rename fetchConnect to _fetch_connect since it's internal.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
for <kvm.h> or kvm_getloadavg(), and <sys/types.h> was only a
prerequisite for <kvm.h> when <kvm.h> was broken.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<kvm.h> is self-sufficient again.
Moved typedefs and forward struct declarations out of __BEGIN_DECLS/
__END_DECLS.
Don't comment out the prototype for kvm_uread(). This was a 4 year
old kludge for previous breakage of self-sufficiency. The prototypwe
was broken instead.
Fixed bitrot (const poisoning) in the type of kvm_uread().
Fixed order of the declaration of kvm_uread().
|
|
|
|
|
|
|
|
|
|
| |
fixes a type mismatch in the call to kvm_uread(). The bug has gone
undetected for almost 3 years because kvm_uproc()'s protoype has been
disabled for almost 4 years.
Trust sysctlbyname() to work properly if it succeeds.
Fixed style bugs in revs. 1.19 and 1.22.
|
| |
|
|
|
|
|
|
|
|
| |
an unimprovement here. I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.
Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.
|
|
|
|
|
| |
Update description of struct url_stat in the man page.
Clean up error handling in ftp.c.
|
| |
|
|
|
|
|
|
|
|
|
| |
Brucify the Makefile.
Differentiate atime and mtime in fetch*Stat().
Fix a few pointer bugs.
Tweak some error messages.
Don't #include sys/param.h and stdio.h in fetch.h.
Document that sys/param.h and stdio.h must be #included before fetch.h.
|
|
|
|
|
| |
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Make compile_et generate prototypes.
|
|
|
|
|
|
| |
Submitted by: Wes Peters
Added strtok_r (reentrant) function and man page.
|
|
|
|
|
|
|
|
|
| |
Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the machine is sitting on a cable modem or certain DSL
networks), and also closes potential security holes that might have
exploited the lack of bounds checking in the previous version of the
code.
|
|
|
|
|
|
| |
no longer possible.
PR: 8337
|
|
|
|
|
| |
Add reference to required include file #include <stdlib.h> for
getloadavg(3) function call.
|
| |
|
| |
|
|
|
|
|
| |
just been replaced. After our lock succeeds we check if st_nlink is 0
and if it is we close the descriptor and retry our open/lock sequence.
|
|
|
|
| |
This is only intended for use by the X server.
|
| |
|
| |
|
|
|
|
|
| |
PR: 8110
Submitted by: Stephen J. Roznowski <sjr@home.net>
|
|
|
|
|
|
| |
depend on libkvm.
Removed obsolete `#define _NEW_VFSCONF'.
|
|
|
|
|
| |
Add a reference to pam(8) in the login(1) and login.access(5) manual
pages.
|
|
|
|
|
| |
used in almost all programs unless a shared library specifically
ignores libgcc.a.
|