Changeset 1443 in kBuild
- Timestamp:
- Mar 30, 2008 7:13:35 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r1442 r1443 2781 2781 func_comp_cmds_ex (char *o, char **argv, const char *funcname) 2782 2782 { 2783 const char *s1, *e1, *x1, *s2, *e2, *x2; 2784 char *a1 = NULL, *a2 = NULL; 2783 const char *s1, *e1, *s2, *e2; 2785 2784 size_t l, l1, l2; 2786 2785 … … 2799 2798 /* ignore trailing and leading blanks */ 2800 2799 e1 = s1 + l1; 2801 while (isblank ((unsigned char) *s1)) 2802 s1++; 2803 while (e1 > s1 && isblank ((unsigned char) e1[-1])) 2804 e1--; 2805 2806 e2 = s2 + l1; 2807 while (isblank ((unsigned char) *s2)) 2808 s2++; 2809 while (e2 > s2 && isblank ((unsigned char) e2[-1])) 2810 e2--; 2800 s1 = comp_cmds_strip_leading (s1, e1); 2801 2802 e2 = s2 + l2; 2803 s2 = comp_cmds_strip_leading (s2, e2); 2811 2804 2812 2805 if (e1 - s1 != e2 - s2)
Note:
See TracChangeset
for help on using the changeset viewer.