VirtualBox

Changeset 3207 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Mar 29, 2018 3:51:24 AM (7 years ago)
Author:
bird
Message:

kmk_redirect: stupid idea to try emulate the -i option of GNU env, its been an alias for stdin. :/

File:
1 edited

Legend:

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

    r3195 r3207  
    15201520             * Zap environment switch?
    15211521             */
    1522             if (   chOpt == 'Z'
    1523                 || chOpt == 'i' /* GNU env compatibility. */ )
     1522            if (chOpt == 'Z') /* (no -i option here, as it's reserved for stdin) */
    15241523            {
    15251524                rcExit = kBuiltinOptEnvZap(pCtx, &papszEnvVars, &cEnvVars, &cAllocatedEnvVars, cVerbosity);
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