rpms/bash/devel bash-cond-rmatch.patch,1.1,1.2

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Thu Jul 5 09:16:28 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/bash/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18050

Modified Files:
	bash-cond-rmatch.patch 
Log Message:
Updated.

bash-cond-rmatch.patch:

Index: bash-cond-rmatch.patch
===================================================================
RCS file: /cvs/pkgs/rpms/bash/devel/bash-cond-rmatch.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bash-cond-rmatch.patch	19 Jan 2007 16:35:30 -0000	1.1
+++ bash-cond-rmatch.patch	5 Jul 2007 09:16:18 -0000	1.2
@@ -1,11 +1,11 @@
---- bash-3.2/execute_cmd.c.cond_rmatch	2007-01-19 16:29:03.000000000 +0000
-+++ bash-3.2/execute_cmd.c	2007-01-19 16:29:25.000000000 +0000
+--- bash-3.2/execute_cmd.c.cond-rmatch	2007-07-05 10:07:27.000000000 +0100
++++ bash-3.2/execute_cmd.c	2007-07-05 10:09:02.000000000 +0100
 @@ -2560,7 +2560,7 @@
        arg1 = cond_expand_word (cond->left->op, 0);
        if (arg1 == 0)
  	arg1 = nullstr;
--      arg2 = cond_expand_word (cond->right->op, patmatch||rmatch);
-+      arg2 = cond_expand_word (cond->right->op, patmatch);
+-      arg2 = cond_expand_word (cond->right->op, rmatch ? 2 : (patmatch ? 1 : 0));
++      arg2 = cond_expand_word (cond->right->op, patmatch ? 1 : 0);
        if (arg2 == 0)
  	arg2 = nullstr;
  




More information about the fedora-extras-commits mailing list