[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gawk: multibyte aware problem
From: |
木村浩一 |
Subject: |
gawk: multibyte aware problem |
Date: |
Wed, 16 Feb 2005 09:48:53 +0900 |
Hi,
I had checked unofficial patch again.
In node.c/unref() of patch,
@@ -456,6 +479,13 @@
return;
}
free(tmp->stptr);
+#if defined MBS_SUPPORT
+ if (tmp->wstptr != NULL)
+ free(tmp->wstptr);
+ tmp->flags &= ~WSTRCUR;
+ tmp->wstptr = NULL;
+ tmp->wstlen = 0;
+#endif
here, I guess shoud check (tmp->flags & WSTRCUR) != 0 before
tmp->wstptr != NULL line (other free wstptr routine did check it).
How though thought whether should do so?
--
Kimura Koichi
- gawk: multibyte aware problem,
木村浩一 <=