VirtualBox

Changeset 1443 in kBuild


Ignore:
Timestamp:
Mar 30, 2008 7:13:35 AM (17 years ago)
Author:
bird
Message:

fixed another bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r1442 r1443  
    27812781func_comp_cmds_ex (char *o, char **argv, const char *funcname)
    27822782{
    2783   const char *s1, *e1, *x1, *s2, *e2, *x2;
    2784   char *a1 = NULL, *a2 = NULL;
     2783  const char *s1, *e1, *s2, *e2;
    27852784  size_t l, l1, l2;
    27862785
     
    27992798  /* ignore trailing and leading blanks */
    28002799  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);
    28112804
    28122805  if (e1 - s1 != e2 - s2)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette