pre-commitフックでコピーライトをチェックする
というわけで、コピーライトのチェックをするSubversion pre-commitフックを書いてみました。
Windowsのバッチファイル中でコマンド置換する方法が分からなかったのでC++で書きました。
Critical Bug in Function Library
ガイドラインを確認しに行ったら、いつのまにかこんなNewsが!
December 19, 2007 - Critical Bug in Function Library
http://www.boost.org/#news
Boost.Function in Boost 1.34.x has a bug that affects the construction of Boost.Function objects in a multi-threaded context. The problem has been fixed in the Boost trunk and for the upcoming Boost 1.35.x. To patch your Boost 1.34.x, copy the files function_base.hpp and function_template.hpp into the Boost directory boost/function.
Boost.Threadはboost::function0<void>を使ってるのでマズいですねぇ。
Copyright 2008
昨日更新したファイルのコピーライトを2008年にするのを忘れてました。
svn commitのフックでチェックしたほうがいいですね。