VirtualBox

Changeset 1881 in kBuild for trunk


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

Made do_2nd_target_expansion skip a strlen.

File:
1 edited

Legend:

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

    r1867 r1881  
    437437do_2nd_target_expansion (struct file *f)
    438438{
    439    char *tmp_name = allocated_variable_expand (f->name);
    440    const char *name = strcache_add (tmp_name);
     439   unsigned int len;
     440   char *tmp_name = allocated_variable_expand_2 (
     441       f->name, strcache_get_len(f->name), &len);
     442   const char *name = strcache_add_len (tmp_name, len);
    441443   free (tmp_name);
    442444   rename_file (f, name);
Note: See TracChangeset for help on using the changeset viewer.

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