From: keie Date: Fri, 25 Jan 1985 14:40:51 +0000 (+0000) Subject: Strings in rom are initialized with usage count 9999. X-Git-Tag: release-5-5~5699 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1bc30e42eb7731d8e44ba5a0b75f55572ac4d042;p=ack.git Strings in rom are initialized with usage count 9999. decstr does not touch these at all. --- diff --git a/lang/basic/lib/string.c b/lang/basic/lib/string.c index 5f7d2fa36..0aa8fde58 100644 --- a/lang/basic/lib/string.c +++ b/lang/basic/lib/string.c @@ -36,6 +36,8 @@ _decstr(str) String *str; { ok(str); + /* Strings in ROM are initialized with this count */ + if ( str->strcount==9999 ) return ; str->strcount--; if(str->strcount<=0) _delstr(str); }