| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.
= Hesiod has been added to libc (see hesiod(3)).
= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).
= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr
= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.
Obtained from: NetBSD
|
| |
|
| |
|
| |
|
|
|
|
| |
Found by: ache
|
|
|
|
|
|
|
|
| |
It was kinda silly since the sigaction() syscall that it used to setup
the handler is more recent than __getcwd(), therefore it was useless
as the wrapper would have died before even getting as far as __getcwd(2).
Reminded by: bde
|
|
|
|
|
| |
library depends on other things that come *way* later than poll() now
(sigset size changes in particular)
|
|
|
|
| |
Submitted by: sheldonh
|
|
|
|
|
|
|
| |
* mdoc cleanup
* document missing errno values (ERRORS section)
Reviewed by: sheldonh
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rewrite catopen() to remove duplicate code chunks and optimize
* if empty string is passed to catopen() as name argument then
catopen() will set errno to ENOENT (File not found), not EINVAL
* move search code to LOOKUP() macro to shrink amount of duplicated code
* move common resource freeing actions to __nls_free_resources() function
* exclude from build code related to MCLoadAll defintion since it is not
using at all
* style(9) related whitespace changes
Reviewed by: ache
|
|
|
|
|
|
|
|
|
| |
in my tree for a long time. bde reviewed this once upon a time and
said it was OK, iirc. This also obviates the need to put ? in the
optstring argument to preclude the extra warning message which some
people think confuses users. When I made my getopt cleanups of a long
time ago, this was the compromise reached. I just neglected to commit
it until now.
|
|
|
|
|
|
|
| |
boolean and it is LC_ALL that's special.
Someone submitted this to me a long time ago, but I can't find the
mail now.
|
|
|
|
|
| |
the system likely won't change in the future, but the warning is a
good idea.
|
|
|
|
|
| |
read() syscalls. It not cause static binary size increasing because stdio
already picked via setlocale() called from catopen()
|
|
|
|
| |
The implementation will behave as if no library function calls strtok().
|
| |
|
|
|
|
|
|
|
|
|
| |
and bump __FreeBSD_version to 500012 to mark the occasion.
setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.
Reviewed by: peter
|
| |
|
|
|
|
|
| |
Resort #include files
Remove SYSV compatibility chunks
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The man pages need some adjustments.
PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD
|
|
|
|
| |
cosmetique, use NULL for pointers comparison
|
| |
|
|
|
|
|
|
| |
small cleanup in nearby area:
pointer 0 -> NULL, according to manpages
hardcoded constant -> sizeof(buf)
|
|
|
|
|
|
|
|
|
| |
rmdir(2) on directories and unlink(2) otherwise. This modification,
and most of the man page update has been obtined from OpenBSD. This
was spotted by someone on a mailing lists a few months ago, but
I've lost their mail.
Reviewed by: sheldonh
|
|
|
|
|
|
| |
back out the corresponding documentation.
Noticed by: brian, ume
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
I changed to close to original code before merging IPv6 support.
It seems having delay before another try is useless. However, I'm
not sure that delay means. So, I leave it as-is.
PR: bin/20515
|
|
|
|
|
|
|
| |
kame)
s/.Os KAME/.Os/
comment From: Greg Thompson
|
|
|
|
|
|
| |
set, not the previous key.
Add $FreeBSD$, not taking this off the vendor branch because it's not on.
|
| |
|
|
|
|
| |
the interpreter, _not_ the argv[0] passed in the original exec() call.
|
|
|
|
|
|
| |
argument in catopen().
Reviewed by: chris, -audit
|
|
|
|
| |
hardcoded value.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
POSIX/SUSv2.
|
| |
|
|
|
|
|
|
|
| |
character, skip the program name when setting the process title.
Ansified with extreme prejudice.
Reviewed by: peter
|
| |
|
| |
|