Ignore:
Timestamp:
May 8, 2008, 5:36:35 AM (17 years ago)
Author:
bird
Message:

Fixed prepend w/ expansion (would append instead of prepend). Optimized append_expanded_string_to_variable().

File:
1 edited

Legend:

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

    r1503 r1610  
    8989#else
    9090      origin ENUM_BITFIELD (3); /* Variable origin.  */
    91 #endif 
     91#endif
    9292    enum variable_export
    9393      {
     
    143143void restore_variable_buffer (char *buf, unsigned int len);
    144144#ifdef CONFIG_WITH_VALUE_LENGTH
    145 extern void append_expanded_string_to_variable (struct variable *v, const char *value);
     145extern void append_expanded_string_to_variable (struct variable *v, const char *value, int append);
    146146#endif
    147147
     
    191191
    192192#ifdef CONFIG_WITH_VALUE_LENGTH
     193void append_string_to_variable (struct variable *v, const char *value,
     194                                unsigned int value_len, int append);
    193195
    194196struct variable *define_variable_in_set (const char *name, unsigned int length,
Note: See TracChangeset for help on using the changeset viewer.