| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correct manner. Revert my incorrect change to use err(3) for malloc(3)
failing. Use a size_t variable to store the size of the argument buffer
we allocate, and remove silly casts as the result of having this around.
Modify the math in some of the paranoid checks for buffer overflow to
account for the fact we now are dealing with the actual size of the
buffer. Remove the static qualifier for arg_max, and the bogus setting
of it to -1.
Include <limits.h> for the definitions we use to check for possible
overflows.
Submitted by: bde
|
|
|
|
| |
returns NULL, as malloc(3) sets errno. Use err(3).
|
| |
|
|
|
|
| |
parsing for compatibility with old implementations.
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
|
|
|
|
| |
Reviewed by: peter
|
| |
|
| |
|
|
|
|
|
|
| |
Suggested by: sheldonh
Approved by: bde
MFC after: 1 day
|
|
|
|
|
|
| |
sets
PR: 35606
|
|
|
|
|
|
| |
PR: 36141
Approved by: cracauer
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
and document in share/examples/etc/make.conf
Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
described in PR docs/36461.
PR: docs/36461
Noticed by: Gary W. Swearingen <swear@blarg.net>
Submitted by: ru
|
| |
|
|
|
|
|
|
|
|
| |
filesystems. We now keep track of the maximum width required for
every variable-width field instead of just the first one.
PR: bin/15510
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.
PR: docs/29534
Install sys/netatm/*/*.h to /usr/include/netatm/*/.
Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>. Three years is enough to be aware of
the change, and these weren't visible in the SHARED=symlinks
case.
Back out include/Makefile,v 1.160 that was a null change anyway
due to the bug in the path, and we now don't want to install
these headers because they would otherwise be invisible in the
SHARED=symlinks case.
Don't install IPFILTER headers. Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.
Resurrect SHARED=symlinks in Makefile.inc1.
PR: bin/28002
Prodded by: bde
MFC after: 2 weeks
|
|
|
|
| |
acceptable getprogname(3).
|
|
|
|
| |
deal with C99 formats.
|
| |
|
| |
|
|
|
|
| |
section somewhat clearer.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- expr must conform to the Utility Syntax Guidelines, so use
getopt() to eat the (non-existent) options.
- Use the Standard type intmax_t for arithmetic.
- If an argument cannot be *completely* converted to an integer, then
it is a string.
Additionally make some style cleanups near the modified lines. This
utility is still not completely style-compliant.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
thus breaking systems with unpolluted <sys/stat.h>'s.
2) Back out an initialisation of a variable in BSS.
Reported by: bde (1), many(2)
|
|
|
|
|
|
|
|
|
|
|
| |
Remove eaccess(2) absence workaround. Add eaccess(2) checks for FILRD,
FILWR, FILEX and FILEXIST cases.
We cannot MFC this because there is no eaccess(2) in -stable yet.
PR: bin/35076
Reviewed by: ru
Approved by: ru
|
|
|
|
| |
(u_intXX_t).
|
| |
|
| |
|
|
|
|
| |
XXX: links handling simplify
|
|
|
|
|
|
|
| |
add comments.
don't get the length of each arg passed, only the last one.
check against == or != NULL rather than using a pointer value as
truth test.
|
|
|
|
| |
PR: 35471
|
|
|
|
| |
PR: 35421
|
|
|
|
|
|
|
| |
call returns `EISDIR', not `EEXIST', so that be prepared for that. This should
fix number of ports, that often call `mkdir -p //usr/local/foobar'. This
is just a quick workaround, the real fix would be either to avoid calling
mkdir("/", ...) or fix VFS code to return consistent errno for this case.
|
|
|
|
|
|
| |
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused includes.
|
| |
|