OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-770-g0d0b504
Gerrit Code Review
gerrit@openafs.org
Mon, 21 Feb 2011 09:11:32 -0800 (PST)
The following commit has been merged in the master branch:
commit 0d0b5048a5b68d4079b13609775f9234183d1947
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Mon Feb 21 00:29:33 2011 +0000
budb: Only have one build rule for budb_errs.c
budb had two build rules that could produce budb_errs.c, but only
one of them also produced budb_client.h. This led to problems with
parallel makes, as depending on which rule fired first, budb_client.h
might, or might not, exist.
Rework all of this so that it's cleaner. Instead of producing two
copies of the error table, just make budb_client.h a static file,
and include the dynamically generated budb_errs.h from it. This
reduces code duplication, and means that we have to run compile_et
one less time.
Change-Id: Ib9b982454cc3f1ef3bdeb629c64dbb9901397fdb
Reviewed-on: http://gerrit.openafs.org/4027
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/budb/.gitignore | 1 -
src/budb/Makefile.in | 24 +++++++------------
src/budb/budb_client.h | 55 ++++++++++++++++++++++++++++++++++++++++++++++
src/budb/budb_client.p.h | 54 ---------------------------------------------
4 files changed, 64 insertions(+), 70 deletions(-)
--
OpenAFS Master Repository