Changeset 1999 in kBuild for trunk/src/kmk/variable.c
- Timestamp:
- Oct 29, 2008 9:47:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/variable.c
r1997 r1999 1378 1378 if (*v->value == '\0' || v->origin == o_env || v->origin == o_env_override) 1379 1379 { 1380 # ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE1380 # ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE 1381 1381 if (v->rdonly_val) 1382 1382 v->rdonly_val = 0; 1383 1383 else 1384 # endif1384 # endif 1385 1385 free (v->value); 1386 1386 v->origin = o_file; 1387 1387 v->value = xstrdup (default_shell); 1388 # ifdef CONFIG_WITH_VALUE_LENGTH1388 # ifdef CONFIG_WITH_VALUE_LENGTH 1389 1389 v->value_length = strlen (v->value); 1390 1390 v->value_alloc_len = v->value_length + 1; 1391 # endif1391 # endif 1392 1392 } 1393 1393 #endif … … 2253 2253 return 0; 2254 2254 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, 2257 2256 0, NULL, origin, v.flavor, target_var); 2258 2257 #endif
Note:
See TracChangeset
for help on using the changeset viewer.