summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-io.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove read/write_size from tbdiff-io since they're unusedBen Brewer2014-06-021-12/+0
| | | | | Also removed because size_t can vary in size across platforms, which makes it unsuitable for storing in our diff stream.
* style: Cleanup the names of the tbd read/write wrappersBen Brewer2014-06-021-16/+16
|
* Simplify endian swapping in tbdiff-io.cBen Brewer2014-06-021-65/+51
| | | | | | | | Simplify the endian swapping by always calling the endian macro and only implementing it when the platform is big-endain. The endian swapping function has also been made a little more obvious and now uses a byteswap inline function to swap the bytes.
* style: Fix indentation and whitespace in tbdiff-io.cBen Brewer2014-06-021-80/+80
|
* style: Convert all cpp style comments to c style commentsBen Brewer2014-06-021-2/+2
|
* Switch to a shared tbdiff library and make this an autotools project.Jannis Pohlmann2012-03-221-0/+166
This commit converts tbdiff to being an autotools-based project. This means that we now support the usual autoreconf -i && ./configure && make && make install process, plus we provide 'make check' for the tbdiff test suite. The tbdiff library is now build as a shared library and is also installed into the system for others to use. The library is libtool-versioned and ships a pkg-config file (tbdiff-1.pc). The headers were adjusted so that only tbdiff/tbdiff.h may be included directly; all others are considered internal. The tbdiff-create and tbdiff-deploy tools were changed to include this header file. The tbdiff library is still GPL, not LGPL. We might want to change this in the future. Thanks to switching to autotools we now have a way to make releases by means of 'make dist' and 'make distcheck'. Unfortunately, the latter currently fails, probably due to something being missing in tbdiff/Makefile.am.