summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog
Commit message (Collapse)AuthorAgeFilesLines
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+2
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* mdoc: point to an existing cross reference.pluknet2012-10-021-1/+1
|
* Fix world after byacc import:bapt2012-05-221-2/+0
| | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor)
* Another couple of unsigned/ssize_t changes.phk2011-03-012-2/+2
|
* Type-change to ssize_t to (app|pl)ease ppc platform.phk2011-02-281-1/+1
|
* Update fifolog internals to match main version:phk2011-02-287-184/+197
| | | | | | | | | | | 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.
* Don't override the perfectly good default ->zalloc and ->zfree functions.phk2011-02-281-20/+1
|
* Fix a bunch of trivial whitespace mistakes and update the miniobj.hphk2011-02-259-30/+38
| | | | file before the real work starts.
* Use a "push" strategy to get data through libz, rather than a "pull" strategy.phk2010-12-072-156/+140
|
* Typo fixesuqs2010-08-061-9/+9
| | | | | | PR: docs/149314 Submitted by: olgeni MFC after: 3 days
* Fix reading of empty fifolog files. When we don't have anythingkeramida2010-07-101-1/+3
| | | | | | | | to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. Approved by: phk MFC after: 1 week
* Do not attempt to render a logrecord with length byte, until we havephk2010-05-151-0/+2
| | | | decompressed all the bytes required.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* ANSIfy almost all applications that use WARNS=6.ed2009-12-291-1/+1
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
* Unify fifolog_writer usage printout with fifolog_create andjh2009-11-171-1/+1
| | | | | | fifolog_reader. Approved by: trasz (mentor)
* Fixed NAME section.ru2009-04-041-2/+2
|
* The last sector in the first segment might just be a sync, increment beforephk2009-02-021-0/+1
| | | | checking validity of segment two.
* Don't overwrite it, if only one sector is written yet.phk2009-02-021-7/+8
| | | | Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>
* Fix a cornercase during searchphk2008-12-092-7/+9
|
* Populate usage()phk2008-05-143-12/+30
| | | | Submitted by: Jaakko Heinonen <jh@saunalahti.fi>
* Clean up makefiles and a manpage.ru2008-04-107-115/+106
| | | | OK'ed by: phk
* Accept empty -T arguments.phk2008-03-312-1/+5
| | | | Proposed by: clemens fischer <ino-qc@spotteswoode.de.eu.org>
* Fix two bugs introduced in conversion to FreeBSD source tree:phk2008-03-192-5/+4
| | | | | Off by one error in length calcuation of string records. Don't attempt to free stack variable.
* Remove trailing ';' on macros.phk2008-03-161-2/+2
| | | | Spotted by: antoine
* Add the fifolog tools to FreeBSD.phk2008-03-0921-0/+3132
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.
OpenPOWER on IntegriCloud