VirtualBox

Changeset 1999 in kBuild for trunk/src/kmk/variable.c


Ignore:
Timestamp:
Oct 29, 2008 9:47:00 PM (16 years ago)
Author:
bird
Message:

variaiable::value_length -> unsigned int.

File:
1 edited

Legend:

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

    r1997 r1999  
    13781378  if (*v->value == '\0' || v->origin == o_env || v->origin == o_env_override)
    13791379    {
    1380 #ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE
     1380# ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE
    13811381      if (v->rdonly_val)
    13821382        v->rdonly_val = 0;
    13831383      else
    1384 #endif
     1384# endif
    13851385        free (v->value);
    13861386      v->origin = o_file;
    13871387      v->value = xstrdup (default_shell);
    1388 #ifdef CONFIG_WITH_VALUE_LENGTH
     1388# ifdef CONFIG_WITH_VALUE_LENGTH
    13891389      v->value_length = strlen (v->value);
    13901390      v->value_alloc_len = v->value_length + 1;
    1391 #endif
     1391# endif
    13921392    }
    13931393#endif
     
    22532253    return 0;
    22542254
    2255   vp = do_variable_definition_2 (flocp, v.name, v.value,
    2256                                  v.value_length != -1 ? (unsigned int)v.value_length : ~0U, /* FIXME */
     2255  vp = do_variable_definition_2 (flocp, v.name, v.value, v.value_length,
    22572256                                 0, NULL, origin, v.flavor, target_var);
    22582257#endif
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