This is an automated email from the git hooks/post-receive script. hmmr-guest pushed a commit to branch master in repository aghermann.
commit 3f15569d7bbf2487f090fdceaaf5df33d3c38c38 Author: Andrei Zavada <[email protected]> Date: Sun Sep 15 02:30:21 2013 +0300 don't try to save empty patterns even if no such thing exists --- upstream/src/aghermann/patterns/patterns.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upstream/src/aghermann/patterns/patterns.cc b/upstream/src/aghermann/patterns/patterns.cc index 35ca0b8..47a4a1a 100644 --- a/upstream/src/aghermann/patterns/patterns.cc +++ b/upstream/src/aghermann/patterns/patterns.cc @@ -43,6 +43,8 @@ save() if ( saved || origin == agh::TExpDirLevel::transient || origin == agh::TExpDirLevel::system ) return 0; + if ( thing.size() == 0 ) { + fprintf( stderr, "save_pattern(\"%s\"): thing is empty\n", path().c_str()); if ( agh::fs::mkdir_with_parents( agh::fs::dirname(path)) ) { fprintf( stderr, "save_pattern(\"%s\"): mkdir failed\n", path.c_str()); return -1; -- Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
