-/* $MirOS: contrib/code/jupp/vs.c,v 1.8 2016/10/30 00:19:57 tg Exp $ */
/*
* Variable length strings
* Copyright
#include "config.h"
#include "types.h"
+__RCSID("$MirOS: contrib/code/jupp/vs.c,v 1.10 2017/12/02 02:07:38 tg Exp $");
+
+#include <stdlib.h>
+
#include "blocks.h"
#include "utils.h"
#include "vs.h"
if (!vary || pos + len > sSIZ(vary))
vary = vsensure(vary, pos + len);
- mkssert(vary != NULL);
if (pos + len > olen) {
vary[pos + len] = vary[olen];
sLen(vary) = pos + len;