VirtualBox

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


Ignore:
Timestamp:
Sep 27, 2007 12:45:03 AM (17 years ago)
Author:
bird
Message:

Fixed termination problem in the append/prepend code.

File:
1 edited

Legend:

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

    r1122 r1133  
    14151415         The new value is the unexpanded old and new values. */
    14161416      unsigned int value_len = strlen (value);
    1417       unsigned int new_value_len = value_len + (v->value_length != 0 ? 1 + v->value_length : 0);
     1417      unsigned int new_value_len = value_len + (v->value_length != 0 ? 2 + v->value_length : 1);
    14181418      int done_1st_prepend_copy = 0;
    14191419
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