List:Commits« Previous MessageNext Message »
From:knielsen Date:December 14 2005 12:09pm
Subject:bk commit into 5.0 tree (knielsen:1.1979) BUG#15734
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of knielsen. When knielsen does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1979 05/12/14 13:09:37 knielsen@stripped +1 -0
  BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.

  bdb/dist/gen_rec.awk
    1.4 05/12/14 13:07:42 knielsen@stripped +1 -1
    Fix undefined behaviour.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	knielsen
# Host:	rt.int.sifira.dk
# Root:	/usr/local/mysql/mysql-mawk

--- 1.3/bdb/dist/gen_rec.awk	2002-10-30 12:48:53 +01:00
+++ 1.4/bdb/dist/gen_rec.awk	2005-12-14 13:07:42 +01:00
@@ -180,7 +180,7 @@
 		t = types[i];
 		if (modes[i] == "POINTER") {
 			ndx = index(t, "*");
-			t = substr(types[i], 0, ndx - 2);
+			t = substr(types[i], 1, ndx - 2);
 		}
 		printf("\t%s\t%s;\n", t, vars[i]) >> HFILE
 	}
Thread
bk commit into 5.0 tree (knielsen:1.1979) BUG#15734knielsen14 Dec