| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
PR: docs/148891
Submitted by: olgeni
MFC after: 1 week
|
|
|
|
| |
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
|
|
|
|
|
|
| |
Reviewed by: hrs (Japanese catalogs),
pluknet <pluknet at gmail dot com> (Russian catalog)
Approved by: delphij (mentor)
|
|
|
|
|
| |
Submitted by: hrs
Approved by: delphij (mentor)
|
|
|
|
|
|
|
|
|
| |
and exclusion patterns [1]
- Some improvements on the exiting code, like replacing memcpy with
strlcpy/strcpy
Approved by: delphij (mentor)
Pointed out by: bf [1], des [1]
|
|
|
|
| |
Approved by: tabthorpe@ (co-mentor)
|
|
|
|
|
| |
Submitted by: swell.k@gmail.com
Approved by: delphij (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
| |
or if forced mode is specified [1]
- While here, add some alternative names for the options and make then
case-insensitive
- Fix -q and -l behaviour [2]
- Some small changes to make the code easier to review
Submitted by: swell.k@gmail.com [1],
dougb [2]
Approved by: delphij (mentor)
|
|
|
|
|
|
|
|
| |
- Explicitly pre-zero memory for fts_open parameters.
- Don't test against directory patterns when we are testing direct
leaf of current directory.
While I'm there plug a few of memory leaks.
|
|
|
|
|
|
|
|
|
| |
- Fix two minor nits in manpage [2]
- style.Makefile(5)
Submitted by: pluknet <pluknet at gmail.com> [1],
Alex Kozlov <spam@rm-rf.kiev.ua> [2]
Reviewed by: delphij
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC),
lower memory usage than GNU grep, GNU compatibility,
BSD license.
TODO: Performance is somewhat behind GNU grep but it is only
significant for bigger searches. The reason is complex, the
most important factor is that GNU grep uses lots of
optimizations to improve the speed of the regex library.
First, we need a modern regex library (practically by adopting
TRE), add support for GNU-style non-standard regexes and then
reevalute the performance issues and look for bottlenecks. In
the meantime, for those, who need better performance, it is
possible to build GNU grep by setting WITH_GNU_GREP.
Approved by: delphij (mentor)
Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/),
freegrep (http://github.com/howardjp/freegrep)
Sponsored by: Google SoC 2008
Portbuild tests run by: kris, pav, erwin
Acknowledgements to: fjoe (as SoC 2008 mentor),
everyone who helped in reviewing and testing
|
|
|
|
|
|
|
|
|
| |
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.
Submitted by: Dimitry Andric <dimitry at andric.com>
|
|
|
|
|
|
|
|
|
| |
This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.
Obtained from: projects/clangbsd
|
|
|
|
| |
into available 10 characters by dropping "irq" in the middle of string.
|
|
|
|
|
|
| |
- Add myself to calendar.freebsd
Approved by: kib (mentor)
|
|
|
|
|
|
|
| |
Add myself to all the appropriate places, upload my pgp key, and announce
my arrival to the FreeBSD world.
Approved by: wxs@ (mentor)
|
| |
|
|
|
|
|
|
| |
- Note that 'y' (sysctl requests) is in the default set of trace points.
MFC after: 3 days
|
|
|
|
|
|
|
| |
Sponsored by: Sandvine Incorporated
Submitted by: b.f. <bf1783 at googlemail dot com>
MFC after: 2 weeks
X-MFC: 210063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default invokation):
- Right now if segments are not writable are not included. Remove this.
- Right now if a segment is mapped with NOCORE the check is not honoured.
Change this by checking the newly added flag, from libutil,
KVME_FLAG_NOCOREDUMP.
Besides that, add a new flag (-f) that forces a 'full' dump of all the
segments excluding just the malformed ones. This might be used very
carefully as, among the reported segments, there could be memory
mapped areas that could be vital to program execution.
Sponsored by: Sandvine Incorporated
Discussed with: kib
Reviewed by: emaste
Tested by: Sandvine Incorporated
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the same fix present in NetBSD.
Note: the getopt man page contains more antique information like this.
An overhaul of the man page and/or sync with NetBSD would be the right
thing to do. But since this is out of the scope of the PR, I'll leave
it as it is for now.
PR: docs/133118
Submitted by: Oleg A. Mamontov (oleg at mamontov dot net)
Discussed with: jilles@
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
is still one issue on FreeBSD/arm (signed vs unsigned char) which prevents
actually bumping this to WARNS=6 - I'm still considering the correct
solution to this issue.
Tested by: make universe
|
|
|
|
|
|
|
| |
where needed. Also, fix bad indentation on lines already affected by the
above changes.
Tested with: make universe
|
|
|
|
| |
Tested by: make universe
|
|
|
|
|
| |
a side effect more clearly show the change in command lines between the
first and second example invocations.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to print the stats were using an uninitialised variable. [1]
Fix trasnfer statistics in the "receive file" case - the statistics struct
was being cleared both before and after the initial connect to the remote
server. As a result, the printed time and calculated bandwidth covers
the time to connect ad well as the time to transfer the file. This may
not be ideal, but now at least matches the "send file" case.
Found by: clang static analyser [1]
Reviewed by: imp
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
|
|
|
|
|
| |
This switch makes it a lot easier to locate problem areas when a process
is threatening to consume all of your disk space.
PR: 144192
Submitted by: gk
MFC after: 3 weeks
|
|
|
|
| |
Found by: clang static analyzer
|
| |
|
|
|
|
|
|
| |
- Add reference to c99(7)
Submitted by: stefanf
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of times the system was forced to sleep when requesting a new allocation.
Expand the debugger hook, db_show_uma, to display these results as well.
This has proven to be very useful in out of memory situations when
it is not known why systems have become sluggish or fail in odd ways.
Reviewed by: rwatson alc
Approved by: scottl (mentor) peter
Obtained from: Yahoo Inc.
|
|
|
|
|
| |
Submitted by: Pawel Worach
Spotted by: clang
|
|
|
|
|
|
|
|
|
|
| |
report the compression ratio as 0% instead of displaying
nonsense triggered by numeric overflow. This is common
when dealing with uncompressed files when the I/O blocking
causes there to be small transient differences in the
accounting.
Thanks to: Boris Samorodov
|
| |
|
| |
|
| |
|
|
|
|
|
| |
While I'm there, loosen the st_nlink check and fix grammar for 1 extra
links.
|
|
|
|
|
|
|
|
|
|
| |
This avoids errors or __DECONST() from places with higher WARNS levels.
Adjust a local cache variable in ipcs to const as well
to compile in the new world order.
Suggested by: jhb
Reviewed by: jhb, kib, brueffer (man)
|
|
|
|
|
| |
Suggested by: jilles
Approved by: delphij (mentor)
|
|
|
|
|
| |
Submitted by: ed
Approved by: delphij (mentor)
|
|
|
|
| |
Approved by: ed (mentor)
|
|
|
|
| |
Approved by: ed (mentor)
|
|
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 8462
Reviewed by: des
MFC after: 1 week
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 8531
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
input file before using it.
PR: bin/147275
Submitted by: thomas
MFC after: 1 week
|