VirtualBox

Changeset 2666 in kBuild


Ignore:
Timestamp:
Nov 15, 2012 12:32:34 AM (12 years ago)
Author:
bird
Message:

remake.c: Remake if we tried to update a non-existing multi_maybe file. Doesn't always fix the issue thought, some syntax redefinitions will be required.

File:
1 edited

Legend:

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

    r2591 r2666  
    465465  int running = 0;
    466466#ifdef CONFIG_WITH_EXPLICIT_MULTITARGET
     467  struct file *req_file = file;
    467468  struct file *org_file = file;
    468469  struct file *f2, *f3;
     
    552553            f3 = f2;
    553554          }
     555      }
     556    /** @todo this isn't sufficient, need to introduce a truly optional type and
     557     *        make |+ ignore mtime. let's hope that doesn't break too much... */
     558    /* If the requested file doesn't exist, always do a remake in the
     559       hope that it is recreated even if it's "maybe" target. */
     560    else if (f2 == req_file && file_mtime (f2) == NONEXISTENT_MTIME)
     561      {
     562        this_mtime = NONEXISTENT_MTIME;
     563        f3 = f2;
     564        break;
    554565      }
    555566  check_renamed (file);
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