From: Howard Chu Date: Sun, 6 Jan 2002 06:10:05 +0000 (+0000) Subject: Changed 'w' format character to 'M': 'm' and 'M' for "memory" ? X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fb87a7d6c9561b5c6ff6c12e5696d00333d76b2;p=openldap Changed 'w' format character to 'M': 'm' and 'M' for "memory" ? --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index f51012b65f..7cfa5fbb95 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -754,10 +754,10 @@ ber_scanf ( BerElement *ber, break; } - case 'w': /* bvoffarray - must include address of + case 'M': /* bvoffarray - must include address of * a record len, and record offset. * number of records will be returned thru - * len ptr on finish. + * len ptr on finish. parsed in-place. */ { bgbvr cookie = { ber, BvOff }; @@ -781,7 +781,7 @@ ber_scanf ( BerElement *ber, case '{': /* begin sequence */ case '[': /* begin set */ if ( *(fmt + 1) != 'v' && *(fmt + 1) != 'V' - && *(fmt + 1) != 'W' && *(fmt + 1) != 'w' ) + && *(fmt + 1) != 'W' && *(fmt + 1) != 'M' ) rc = ber_skip_tag( ber, &len ); break; @@ -881,6 +881,8 @@ ber_scanf ( BerElement *ber, case 'v': /* sequence of strings */ case 'V': /* sequence of strings + lengths */ case 'W': /* BVarray */ + case 'm': /* berval in-place */ + case 'M': /* BVoff array in-place */ case 'n': /* null */ case 'x': /* skip the next element - whatever it is */ case '{': /* begin sequence */