Changeset 563 for trunk/src


Ignore:
Timestamp:
Oct 8, 2006, 3:53:27 AM (19 years ago)
Author:
bird
Message:

fixed comp-vars bug (incorrect return value).

File:
1 edited

Legend:

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

    r533 r563  
    21842184
    21852185    if (e1 - s1 != e2 - s2)
    2186       return variable_buffer_output (o, "", 1);     /* eq */
     2186      return variable_buffer_output (o, argv[2], strlen(argv[2]));
    21872187l_simple_compare:
    21882188    if (!memcmp (s1, s2, e1 - s1))
     
    22622262    free (a2);
    22632263  if (l)
    2264     return variable_buffer_output (o, "", 1);
     2264    return variable_buffer_output (o, "", 1);       /* eq */
    22652265  return variable_buffer_output (o, argv[2], strlen (argv[2]));
    22662266}
Note: See TracChangeset for help on using the changeset viewer.