VirtualBox

Changeset 1942 in kBuild


Ignore:
Timestamp:
Oct 26, 2008 2:08:34 AM (16 years ago)
Author:
bird
Message:

commands.c: the file::stem isn't in the string cache if set before set_file_variables is called. (CONFIG_WITH_RDONLY_VARIABLE_VALUE)

File:
1 edited

Legend:

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

    r1934 r1942  
    5151  const struct dep *d;
    5252  const char *at, *percent, *star, *less;
     53#ifdef CONFIG_WITH_STRCACHE2
     54  const char *org_stem = file->stem;
     55#endif
    5356
    5457#ifndef NO_ARCHIVES
     
    164167  if (*star == '\0')
    165168    DEFINE_VARIABLE_RO_VAL ("*", 1, "", 0);
     169  else if (file->stem != org_stem)
     170    DEFINE_VARIABLE_RO_VAL ("*", 1, star, strcache_get_len (star));
    166171  else
    167     DEFINE_VARIABLE_RO_VAL ("*", 1, star, strcache_get_len (star));
     172    DEFINE_VARIABLE ("*", 1, star);
    168173
    169174  if (at == file->name)
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