VirtualBox

Changeset 2912 in kBuild for trunk/src/kmk/kmkbuiltin/rm.c


Ignore:
Timestamp:
Sep 14, 2016 1:36:15 PM (9 years ago)
Author:
bird
Message:

rewrote kmk_redirect to skip the separate process. Added chache invalidation after directory deletion for addressing kmk rebuild and fetching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/rm.c

    r2713 r2912  
    394394                                                (void)printf("%s\n",
    395395                                                    p->fts_path);
     396#if defined(KMK) && defined(KBUILD_OS_WINDOWS)
     397                                        if (rval == 0) {
     398                                            extern int dir_cache_deleted_directory(const char *pszDir);
     399                                            dir_cache_deleted_directory(p->fts_accpath);
     400                                        }
     401#endif
    396402                                        continue;
    397403                                }
    398                                 operation = "mkdir";
     404                                operation = "rmdir";
    399405                                break;
    400406
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