+2003-10-03 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * html-parse.c (convert_and_copy): Move variable declarations
+ before statements.
+
2003-10-02 Gisle Vanem <giva@bgnett.no>
* mswindows.c (run_with_timeout): For Windows: Run the 'fun' in a
already has room to accomodate SIZE bytes of data, this is a no-op. */
#define POOL_GROW(p, increase) \
- GROW_ARRAY ((p)->contents, (p)->size, (p)->tail + increase, \
+ GROW_ARRAY ((p)->contents, (p)->size, (p)->tail + (increase), \
(p)->resized, char)
/* Append text in the range [beg, end) to POOL. No zero-termination
It's safe (and necessary) to grow the pool in advance because
processing the entities can only *shorten* the string, it can
never lengthen it. */
- POOL_GROW (pool, end - beg);
const char *from = beg;
- char *to = pool->contents + pool->tail;
+ char *to;
+
+ POOL_GROW (pool, end - beg);
+ to = pool->contents + pool->tail;
while (from < end)
{