| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.
Discussed with: ru, nectar
|
|
|
|
| |
Approved by: trhodes (mentor)
|
|
|
|
| |
saves function calls and reduces void casting.
|
|
|
|
|
|
|
|
| |
it to Var_Parse().
Patch: 7.85
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
| |
Patch: 7.84
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
|
|
| |
to VarExpand down into the branches of the if as well as cleanup code.
Eliminate code that is now obviously dead.
Patch: 7.83
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
| |
Feel free to send presents :)
Approved by: pav (mentor)
|
|
|
|
|
|
|
|
| |
to a fallthrough.
Patch: 7.82
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
|
|
| |
an else clause. Move the assignment to the lengthPtr down to
just before the return statements.
Patch: 7.81
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
| |
replace FALSE by NULL.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
|
|
| |
necessary to NUL-terminated it, because we know the lengths
from the pointers.
Patch: 7.80
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Approved by: arved (mentor)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it type and endian clean.
Also following changes were done:
. Remove of outdated support for generating of include files for
NLS catalogs being generated.
. Integrate my old code optimizations
. ANSI'fy prototypes
. Remove duplicate defines, and cleanup includes
. Remove first (unused) argument from error() function
. Const'ify (gencat now WARNS=8 clean)
. Convert corrupt() and nomem() functions to macros
. Add *temporary* note what '-new' command line argument is
deprecated now (instead of exiting with error message)
WARNING: format of generated .cat files is changed!
XXX: re-add support for *updating* of .cat files, NetBSD has this
functionality disabled
Obtained from: NetBSD (mostly)
|
|
|
|
|
|
|
|
| |
appears in LC_COLLATE files (due to alignment). An alternative
would be to bump STR_LEN to 16.
(This is in preparation to make LC_COLLATE files architecture
independent.)
|
|
|
|
|
|
|
| |
do something sensible (namely: treat then '\0' as the EOL character, when
deciding what "a line" is for -N). Note that -I implies -N.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
introducing the disk formats for _RuneLocale and friends.
The disk formats do not have (useless) pointers and have 32-bit
quantities instead of rune_t and long. (htonl(3) only works
with 32-bit quantities, so there's no loss).
Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x
would be trivial (verified), but we no longer provide pre-5.3
source upgrades and this is the first commit to actually break
it.)
|
|
|
|
|
|
|
|
|
| |
functions: one for the single letter variables, one for the others
and one that does the recursive expansion.
Patches: 7.68-7.79
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Noticed by: tjr
|
|
|
|
|
|
|
|
| |
of a char *.
Patch: 7.49
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Reported by: ceri
|
|
|
|
| |
Sorry guys, USSR idiosyncrasy.
|
|
|
|
|
|
|
|
|
|
|
|
| |
after a return. Move assignments to {freePtr, dynamic, start} closer to the
return statements to clarify which variables are actually used for
communication between the losely coupled blocks of the code. Clear up
an if-expression to make common structures of the conditions clearer.
Use strchr instead of switch statements to check for a character beeing
a member of a set.
Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
| |
get it clearer what variables are actually needed.
Patches: 7.62.2, 7.62.3
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
| |
fix the prototype for Compat_RunCommand to take the actual argument
types instead of void *.
|
|
|
|
|
|
|
|
| |
of some arguments.
PR: 47705
Based on a patch submitted by: Gary W. Swearingen <swear@attbi.com>
Glanced at by: simon
|
|
|
|
|
| |
and so get rid of the ForExec helper function by inlining it
into For_Run.
|
|
|
|
| |
Add a couple of comments.
|
|
|
|
| |
Noted by: Max Okumoto <okumoto@ucsd.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hosts to share an IP address, providing high availability and load
balancing.
Original work on CARP done by Michael Shalayeff, with many
additions by Marco Pfatschbacher and Ryan McBride.
FreeBSD port done solely by Max Laier.
Patch by: mlaier
Obtained from: OpenBSD (mickey, mcbride)
|
|
|
|
| |
committed together with the commit to dir.c:1.48.
|
|
|
|
| |
Lst_ForEach and Lst_Find.
|
|
|
|
|
|
|
| |
to the Lst_ForEach function this macro reduces the number of function
calls per invocation by N + 1 (where N is the number of list elements)
and increases code locality thereby increasing readability and
(maybe) performance.
|
|
|
|
|
|
| |
number of pages.
Obtained from: Yahoo!
|
|
|
|
|
| |
80 characters and slightly reorder functions to get rid of static
prototypes.
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
|
| |
when looking into an already hashed archive, the code tried to use
the name shortened to the maximum length allowed for the archive.
Unfortunately it passed a buffer of junk to the hashing routine when
the name actually wasn't too long. Theoretically this could lead to
a false positive.
|
|
|
|
|
|
|
|
|
| |
which is stat.st_blksize (i.e., PAGE_SIZE).
This change causes the .db files that were cross-compiled on
another platform to be identical to the natively built ones.
Tested on: alpha->amd64 build
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Tested by: kuriyama
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Clarify that -T can be used in 'x' mode as well as 'c' mode.
|
|
|
|
|
|
|
| |
it is actually needed. This makes clear in which subblocks the variables
are not needed and which can easier be split out.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
| |
liveness clear for splitting up this monster function.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
| |
|