VirtualBox

Changeset 1957 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Oct 26, 2008 6:36:17 PM (16 years ago)
Author:
bird
Message:

function.c: func_eval_optimize_variable - made it build without rdonly_val, and also to refuse automatic variables.

File:
1 edited

Legend:

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

    r1948 r1957  
    16901690    {
    16911691      struct variable *v = lookup_variable (argv[i], strlen (argv[i]));
    1692       if (v && !v->rdonly_val)
     1692#ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE
     1693      if (v && !v->origin != o_automatic && !v->rdonly_val)
     1694#else
     1695      if (v && !v->origin != o_automatic)
     1696#endif
    16931697        {
    16941698          char *eos, *src;
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