summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-create.c
Commit message (Collapse)AuthorAgeFilesLines
* Use TBD_DEBUG macro instead of fprint for debug messagesBen Brewer2014-06-021-11/+11
| | | | | We now use the TBD_DEBUG macro rather than fprintf, this means that debug messages aren't printed when debugging is disabled.
* Cleanup writing of xattr pairs in tbdiff-create.cBen Brewer2014-06-021-11/+14
|
* style: Rename fread/fwrite in function names to read and writeBen Brewer2014-06-021-78/+78
| | | | | | | | The implementation currently uses fread and fwrite which are specific functions in stdlib, however this is an implementation detail and in the future these functions may not be used, so it doesn't make sense to name the higher level functions based on the function they use underneath.
* style: Cleanup the names of the tbd read/write wrappersBen Brewer2014-06-021-12/+12
|
* Create tbd_cmd_t type to for commands and use sizeof in writeBen Brewer2014-06-021-3/+3
| | | | | | Previously commands were just treated as a uint8_t and given the value of and enum. This is now made more clear in the code by defining tbd_cmd_t as a uint8_t below the enum in tbdiff-common.h.
* style: Fix alignment and whitespace issues in tbdiff-createBen Brewer2014-06-021-59/+61
|
* style: Convert all cpp style comments to c style commentsBen Brewer2014-06-021-8/+8
|
* Switch to a shared tbdiff library and make this an autotools project.Jannis Pohlmann2012-03-221-0/+797
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.