Merge from vendor branch LESS:
[dragonfly.git] / bin / csh / sh.exp.c.patch
1 $DragonFly: src/bin/csh/Attic/sh.exp.c.patch,v 1.1 2004/07/27 21:01:44 dillon Exp $
2 Index: sh.exp.c
3 ===================================================================
4 RCS file: /cvs/src/contrib/tcsh/sh.exp.c,v
5 retrieving revision 1.1
6 diff -u -r1.1 sh.exp.c
7 --- sh.exp.c    17 Jun 2003 02:47:06 -0000      1.1
8 +++ sh.exp.c    27 Jul 2004 20:25:12 -0000
9 @@ -59,7 +59,7 @@
10  
11  static int      sh_access      __P((Char *, int));
12  static int      exp1           __P((Char ***, bool));
13 -static int      exp2           __P((Char ***, bool));
14 +static int      exp2x          __P((Char ***, bool));
15  static int      exp2a          __P((Char ***, bool));
16  static int      exp2b          __P((Char ***, bool));
17  static int      exp2c          __P((Char ***, bool));
18 @@ -233,7 +233,7 @@
19      register Char ***vp;
20      bool    ignore;
21  {
22 -    register int p1 = exp2(vp, ignore);
23 +    register int p1 = exp2x(vp, ignore);
24  
25  #ifdef EDEBUG
26      etraci("exp1 p1", p1, vp);
27 @@ -252,7 +252,7 @@
28  }
29  
30  static int
31 -exp2(vp, ignore)
32 +exp2x(vp, ignore)
33      register Char ***vp;
34      bool    ignore;
35  {
36 @@ -265,7 +265,7 @@
37         register int p2;
38  
39         (*vp)++;
40 -       p2 = exp2(vp, ignore);
41 +       p2 = exp2x(vp, ignore);
42  #ifdef EDEBUG
43         etraci("exp3 p2", p2, vp);
44  #endif /* EDEBUG */