VirtualBox

Changeset 2664 in kBuild


Ignore:
Timestamp:
Nov 9, 2012 11:14:45 PM (12 years ago)
Author:
bird
Message:

commands.c: Fixed bad merge, causing crashes in memcpy (bp, c, len); in set_file_variables().

File:
1 edited

Legend:

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

    r2594 r2664  
    341341    bar_len = 0;
    342342    for (d = file->deps; d != 0; d = d->next)
    343       if (! d->ignore_mtime)
    344343      {
    345344        if (!d->need_2nd_expansion)
    346345          {
     346            if (d->ignore_mtime)
    347347#ifndef CONFIG_WITH_STRCACHE2
    348             if (d->ignore_mtime)
    349348              bar_len += strlen (dep_name (d)) + 1;
     349#else
     350              bar_len += strcache2_get_len (&file_strcache, dep_name (d)) + 1;
     351#endif
    350352            else
     353#ifndef CONFIG_WITH_STRCACHE2
    351354              plus_len += strlen (dep_name (d)) + 1;
    352355#else
    353             if (d->ignore_mtime)
    354               bar_len += strcache2_get_len (&file_strcache, dep_name (d)) + 1;
    355             else
    356356              plus_len += strcache2_get_len (&file_strcache, dep_name (d)) + 1;
    357357#endif
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