VirtualBox

Changeset 1836 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Oct 11, 2008 7:22:26 PM (16 years ago)
Author:
bird
Message:

kmk: don't return '\0'.

File:
1 edited

Legend:

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

    r1827 r1836  
    27362736        /* emit the result. */
    27372737        if (s1 == e1 && s2 == e2)
    2738           o = variable_buffer_output (o, "", 1);
     2738          o = variable_buffer_output (o, "", 1) - 1; /** @todo check why this was necessary back the... */
    27392739        else
    27402740          o = variable_buffer_output (o, ne_retval, strlen (ne_retval));
     
    28712871      o = comp_vars_ne (o, s1, e1, s2, e2, argv[2], funcname);
    28722872  else
    2873       o = variable_buffer_output (o, "", 1);        /* eq */
     2873      o = variable_buffer_output (o, "", 1) - 1;    /* eq */ /** @todo check why this was necessary back the... */
    28742874  if (a1)
    28752875    free (a1);
Note: See TracChangeset for help on using the changeset viewer.

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