find.c (1591) | find.c (6776) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 85 unchanged lines hidden (view full) --- 94 * the user might want the -print someplace else on the command line, 95 * but there's no way to know that. 96 */ 97 if (!isoutput) { 98 new = c_print(); 99 if (plan == NULL) 100 tail = plan = new; 101 else { | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 85 unchanged lines hidden (view full) --- 94 * the user might want the -print someplace else on the command line, 95 * but there's no way to know that. 96 */ 97 if (!isoutput) { 98 new = c_print(); 99 if (plan == NULL) 100 tail = plan = new; 101 else { |
102 new = c_openparen(); 103 new->next = plan; 104 plan = new; 105 new = c_closeparen(); |
|
102 tail->next = new; 103 tail = new; | 106 tail->next = new; 107 tail = new; |
108 new = c_print(); 109 tail->next = new; 110 tail = new; |
|
104 } 105 } 106 107 /* 108 * the command line has been completely processed into a search plan 109 * except for the (, ), !, and -o operators. Rearrange the plan so 110 * that the portions of the plan which are affected by the operators 111 * are moved into operator nodes themselves. For example: --- 81 unchanged lines hidden --- | 111 } 112 } 113 114 /* 115 * the command line has been completely processed into a search plan 116 * except for the (, ), !, and -o operators. Rearrange the plan so 117 * that the portions of the plan which are affected by the operators 118 * are moved into operator nodes themselves. For example: --- 81 unchanged lines hidden --- |