| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
|
|
|
|
| |
Tested by: make universe
|
|
|
|
| |
several arches.
|
|
|
|
|
|
|
| |
temporary variable on the stack and then copy that into the output buffer
so that the htons() conversions use aligned accesses.
MFC after: 1 month
|
|
|
|
| |
[built on both AMD64 and i386]
|
|
|
|
| |
by not bothering to include its API.
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
| |
needed.
|
|
|
|
| |
Tested with: make universe
|
| |
|
| |
|
|
|
|
|
|
| |
bsd.*.mk infrasture.
Obtained from: ru
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
|
| |
|
| |
|
|
|
|
|
|
| |
rlogin work properly without COMPAT_43.
Obtained from: NetBSD (mycroft)
|
| |
|
|
|
|
|
|
| |
for ages, and no-one seems to have noticed. Viva PAM!
Fix some easy/trivial warnings while I'm here.
|
|
|
|
|
|
| |
``.'' is not a sentence termination, it must be escaped to be put inside
quotes.
Abort if execv() fails by adding err(). Do not dot terminate error messages.
|
|
|
|
|
| |
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
|
| |
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
| |
unused includes.
|
| |
|
| |
|
|
|
|
|
| |
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
|
|
|
|
|
| |
o use ansi function definitions
o remove OLDSUN
|
| |
|
|
|
|
|
|
| |
PR: docs/35956
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
|
|
|
|
|
| |
the parent from sending SIGURG itself to the child. This fixes the
problem of occasionally failing to pass the window size.
|
|
|
|
|
|
| |
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
[rlogin.c] Make the usage message match the code.
|
| |
|
| |
|
|
|
|
| |
getopt returns -1 not EOF.
|
|
|
|
| |
Approved by: jkh
|
| |
|
|
|
|
|
|
|
|
|
| |
Current getaddrinfo() implemetation has a problem of too much resolving
waiting time on INET6 enabled systems.
-4 and -6 options can limit name resolving address family and is a possible
workaround for the problem.
Approved by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
|
|
|
|
| |
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections
Patches based on PR: docs/15680
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
|
|
|
|
|
|
|
|
| |
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design). libcrypt has
been adjusted to not need the runtime -lmd. It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
|