[BACK]Return to operator.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / find

Diff for /src/usr.bin/find/operator.c between version 1.5 and 1.6

version 1.5, 1999/12/04 22:42:32 version 1.6, 2001/11/19 19:02:13
Line 77 
Line 77 
 yankexpr(planp)  yankexpr(planp)
         PLAN **planp;           /* pointer to top of plan (modified) */          PLAN **planp;           /* pointer to top of plan (modified) */
 {  {
         register PLAN *next;    /* temp node holding subexpression results */          PLAN *next;     /* temp node holding subexpression results */
         PLAN *node;             /* pointer to returned node or expression */          PLAN *node;             /* pointer to returned node or expression */
         PLAN *tail;             /* pointer to tail of subplan */          PLAN *tail;             /* pointer to tail of subplan */
         PLAN *subplan;          /* pointer to head of ( ) expression */          PLAN *subplan;          /* pointer to head of ( ) expression */
Line 132 
Line 132 
 paren_squish(plan)  paren_squish(plan)
         PLAN *plan;             /* plan with ( ) nodes */          PLAN *plan;             /* plan with ( ) nodes */
 {  {
         register PLAN *expr;    /* pointer to next expression */          PLAN *expr;     /* pointer to next expression */
         register PLAN *tail;    /* pointer to tail of result plan */          PLAN *tail;     /* pointer to tail of result plan */
         PLAN *result;           /* pointer to head of result plan */          PLAN *result;           /* pointer to head of result plan */
   
         result = tail = NULL;          result = tail = NULL;
Line 170 
Line 170 
 not_squish(plan)  not_squish(plan)
         PLAN *plan;             /* plan to process */          PLAN *plan;             /* plan to process */
 {  {
         register PLAN *next;    /* next node being processed */          PLAN *next;     /* next node being processed */
         register PLAN *node;    /* temporary node used in N_NOT processing */          PLAN *node;     /* temporary node used in N_NOT processing */
         register PLAN *tail;    /* pointer to tail of result plan */          PLAN *tail;     /* pointer to tail of result plan */
         PLAN *result;           /* pointer to head of result plan */          PLAN *result;           /* pointer to head of result plan */
   
         tail = result = next = NULL;          tail = result = next = NULL;
Line 230 
Line 230 
 or_squish(plan)  or_squish(plan)
         PLAN *plan;             /* plan with ors to be squished */          PLAN *plan;             /* plan with ors to be squished */
 {  {
         register PLAN *next;    /* next node being processed */          PLAN *next;     /* next node being processed */
         register PLAN *tail;    /* pointer to tail of result plan */          PLAN *tail;     /* pointer to tail of result plan */
         PLAN *result;           /* pointer to head of result plan */          PLAN *result;           /* pointer to head of result plan */
   
         tail = result = next = NULL;          tail = result = next = NULL;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6