List:Internals« Previous MessageNext Message »
From:msvensson Date:April 26 2005 12:35pm
Subject:bk commit into 4.1 tree (msvensson:1.2207) BUG#9954
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson 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.2207 05/04/26 12:35:23 msvensson@neptunus.(none) +1 -0
  Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portable
    - Changed makelist.sh

  cmd-line-utils/libedit/makelist.sh
    1.7 05/04/26 12:35:21 msvensson@neptunus.(none) +1 -1
    Changed function so it works also on windows cr/lf files.

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug9954

--- 1.6/cmd-line-utils/libedit/makelist.sh	2005-01-08 05:30:18 +01:00
+++ 1.7/cmd-line-utils/libedit/makelist.sh	2005-04-26 12:35:21 +02:00
@@ -68,7 +68,7 @@
 	/\(\):/ {
 	    pr = substr($2, 1, 2);
 	    if (pr == "vi" || pr == "em" || pr == "ed") {
-		name = substr($2, 1, length($2) - 3);
+		name = substr($2, 1, index($2,"(") - 1);
 #
 # XXX:	need a space between name and prototype so that -fc and -fh
 #	parsing is much easier
Thread
bk commit into 4.1 tree (msvensson:1.2207) BUG#9954msvensson26 Apr