SORT BY:

LIST ORDER
THREAD
AUTHOR
SUBJECT


SEARCH

IPS HOME


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

    Re: null termination of keys



    Julian:
    
    Draft 12-96, section 4.1 defines an LTDS and then says:
    
    "Every key=value pair, excluding the last or only pair in a LTDS,
    MUST be followed by one null (0x00) delimiter; the last or only pair
    in a LTDS ends at the LTDS end."
    
    This brings us back to where we were in draft 6 -- that key=value pairs
    are separated by nulls, not terminated by nulls.  If I remember
    correctly, one of the primary reasons that this was changed going to draft
    7 is that implementations prefer to treat each key=value pair as one string,
    and in C and C++, strings are null terminated.
    
    I do not believe this change is in any way necessary for the LTDS or
    C-bit mechanism, and would request that it be put back to the way it has
    been from draft 7 through draft 12-94:
    
    "Every key=value pair, including the last or only pair in a LTDS,
    MUST be followed by one null (0x00) delimiter."
    
    Thanks
    
    Bob Russell
    
    


Home

Last updated: Tue Jun 04 15:18:38 2002
10500 messages in chronological order