History log of /freebsd-10-stable/usr.sbin/fifolog/lib/fifolog_write_poll.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 306910 09-Oct-2016 pfg

MFC r305812:

fifolog(1): invert order of calloc(3) arguments.

The second argument to calloc(3) should be the size, make it so.

While here be a little bit more cautious in fifolog_reader_open()
to protect in the unlikely event of an overflowed allocation.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 219123 01-Mar-2011 phk

Another couple of unsigned/ssize_t changes.


# 219095 28-Feb-2011 phk

Update fifolog internals to match main version:

Rename ...write_bytes... to ...write_records..., that's what they do.

Move writer .h stuff into writer private .h file.

Change logic in writer to support both fifolog usage in FreeBSD and
Measured usage better, by always using an input buffer.

Various cleanups.


# 219027 25-Feb-2011 phk

Fix a bunch of trivial whitespace mistakes and update the miniobj.h
file before the real work starts.


# 216257 07-Dec-2010 phk

Use a "push" strategy to get data through libz, rather than a "pull" strategy.


# 188007 02-Feb-2009 phk

Don't overwrite it, if only one sector is written yet.

Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>


# 177381 19-Mar-2008 phk

Fix two bugs introduced in conversion to FreeBSD source tree:

Off by one error in length calcuation of string records.
Don't attempt to free stack variable.


# 176998 09-Mar-2008 phk

Add the fifolog tools to FreeBSD.

Quoth the man-page:

Fifologs provide a compact round-robin circular storage for recording
text and binary information to permanent storage in a bounded and pre-
dictable fashion, time and space wise.

Not yet connected to the build, but feel free to test & review.