From 264ec52e8ecaebb2450d7695c774e2377c711d66 Mon Sep 17 00:00:00 2001 From: roland Date: Thu, 25 Aug 2005 22:49:21 +0000 Subject: [PATCH] (deref_string): terminate --- runtime/loc2c-runtime.h | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h index 91b5a0c5a..4177b8a27 100644 --- a/runtime/loc2c-runtime.h +++ b/runtime/loc2c-runtime.h @@ -182,5 +182,6 @@ _len > 1 && (_c = deref (1, _addr)) != '\0'; \ --_len, ++_addr) \ *_d++ = _c; \ + *_d = '\0'; \ (dst); \ }) -- 2.43.5