| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Found by: powerpc builds failing due to comparing with EOF raised:
"comparison is always false due to limited range of data type"
|
|
|
|
| |
No functional change.
|
|
|
|
| |
No functional change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a couple of places in the source three where we call
basename() on constant strings. This is bad, because the prototype
standardized by POSIX allows the implementation to use its argument as a
storage buffer.
This change eliminates some of these unportable calls to basename() in
cases where it was only added for cosmetical reasons, namely to trim
argv[0]. There's nothing wrong with setting argv[0] to the full path.
Reviewed by: jilles
Differential Revision: https://reviews.freebsd.org/D6093
|
|
|
|
|
|
| |
a value assigned
Reported by: pfg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains only bug fixes, no new features. The repository format is
also unchanged from 1.9.2. Full list of changes between 1.9.4 and
earlier versions:
https://svn.apache.org/repos/asf/subversion/tags/1.9.4/CHANGES
Note that the two security issues fixed in 1.9.4 (CVE-2016-2167 and
CVE-2016-2168) do not affect the version of Subversion in the FreeBSD
base system, since neither SASL nor Apache modules are enabled.
Relnotes: yes
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Import sdiff(1) from the diff version written by Raymond Lai,
improved during GSoC 2012 by Jesse Hagewood.
Compared to the version done in during that summer of code:
- Remove the zlib frontend: zsdiff
- Compatible output (column size and separators) with GNU sdiff
Compared to GNU sdiff in ports:
- The only difference is padding using spaces vs tabs
Compared to OpenBSD and NetBSD import:
- Implement missing options (including long options) from GNU sdiff
- Improved support for the edition mode (signal handling)
- Output visually compatible with GNU sdiff: size of columns
While here import regression tests from NetBSD adapted to fit the output as
expected by GNU sdiff
Reviewed by: emaste (in part)
Obtained from: OpenBSD, NetBSD, GSoC 2012
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D5981
Differential Revision: https://reviews.freebsd.org/D6032 (diff with NetBSD version)
Differential Revision: https://reviews.freebsd.org/D6033 (diff with OpenBSD version)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a related typo while here.
Note, this change results in the Kyuafile inclusion in the runtime
package, which needs to be fixed, however addresses the PR as far
as I can tell in my tests.
PR: 209114
Submitted by: ngie
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
|
|
|
| |
confused way: "prec > 9 ? 9 : prec".
Submitted by: pfg, ngie and luke <luke.tw@gmail.com>
MFC after: 2 weeks.
|
|
|
|
|
| |
Since it is used in the example, mention the -- option in the synopsis
even though it is a universal standard, and tweak to fit it on one line.
|
| |
|
|
|
|
|
| |
Independent of the maximum length, the return type for strnlen(3)
is always size_t.
|
|
|
|
|
|
|
|
| |
Integer i is used to index p_end of type LINENUM (actually long).
Match the types.
MFC after: 5 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Split the compression across several worker threads. By default, "several"
matches number of CPUs, capped at 24 for sanity when running on a very big
hardwares. Provide option to set that number manually;
o Fix bug inherited from the mkulzma (R.I.P) which degraded already slow LZMA
compression even further by calling function to release compression state
after processing each block.
It is neither documented as required nor actually required by the LZMA
library. This caused spree of system calls to release memory and then map
it again for every block. LZMA compression is more than 2x faster after this
change alone;
o Record time it takes to do compression and report throughput achieved.
o Add simple first-level 256 entry hash table for de-dup code, so it's not
becoming a bottleneck at big files.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
|
|
| |
No functional change, only trivial cases are done in this sweep,
Discussed in: freebsd-current
|
|
|
|
|
|
|
|
| |
It's provided by sys.mk so there's no need to derive it from ${.CURDIR}.
Suggested by: ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5998
|
|
|
|
|
|
|
|
|
|
|
| |
- notionally support a 'history file' flag. This doesn't do much now,
but is there to prevent scripts written against GNU units from
breaking
- correctly gracefully quit rather than exit (this will make it easier
to support a history file in the future)
- remove the "t" flag from fopen which was there to support windows. We
have not supported windows since at the latest, the introduction of
capsicum.
|
|
|
|
|
| |
Reported by: Coverity
CID= 1338535, 1338536, 1338542, 1338569, 1338570
|
|
|
|
|
|
| |
Reported by: Coverity
CID: 1007335
MFC after: 3 days
|
|
|
|
|
|
| |
Reported by: Coverity
CID: 1007335
MFC after: 3 days
|
|
|
|
|
|
|
| |
(-1) casted to a pointer.
Submitted by: pfg
MFC after: 2 weeks.
|
|
|
|
|
|
| |
Small cosmetic change.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
gethostbyname(3) will return NULL for error status.
MFC after: 2 weeks.
|
| |
|
|
|
|
|
| |
- this matches GNU units 2.12
add ISO country codes from units 2.12
|
|
|
|
|
| |
- it only holds a single constant
- it doesn't exist in the GNU variant
|
|
|
|
|
|
| |
realloc will return NULL in case it cannot allocate memory.
MFC after: 2 weeks.
|
|
|
|
|
|
|
| |
strchr(3) will return NULL if the character does not appear in the
string.
MFC after: 2 weeks.
|
|
|
|
|
|
|
| |
This produces a nicer path in debug info and build logs.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
getservent(3) returns NULL on EOF or error.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
fopen(3) will return NULL in case it cannot open the STREAM.
MFC after: 2 weeks.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
|
|
| |
realloc will return NULL if it cannot allocate memory.
MFC after: 2 weeks.
|
|
|
|
|
|
|
| |
strrchr(3) will return NULL if the character does not appears in
the string.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
Also malloc will return NULL if it cannot allocate memory.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
strtok(3) will return NULL when no more tokens remain.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
mklocale and colldef has been replaced by localedef, but they have to be kept
until 10.2 is EOL for mklocale (it has been added to 10.3 as a bootstrap tools)
and until 10.3 is EOL for colldef (it has never been added to bootstrap tools)
|
| |
|
| |
|
| |
|