VirtualBox

Changeset 908 in kBuild for trunk


Ignore:
Timestamp:
May 24, 2007 2:46:03 AM (18 years ago)
Author:
bird
Message:

Fixed bug not dealing with the variable buffer being reallocated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/file.c

    r903 r908  
    485485      if (! d->need_2nd_expansion)
    486486        {
     487          size_t l;                         /* bird */
    487488          p = variable_expand ("");
     489          l = p - variable_buffer;          /* bird */
    488490          variable_buffer_output (p, d->name, strlen (d->name) + 1);
     491          p = variable_buffer + l;          /* bird - this may have been reallocated! */
    489492        }
    490493      else
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