Mercurial > hg > index.cgi
comparison lwasm/pass1.c @ 281:cb24ffb23f7c
Make DTS not have problems if used multiple times.
Storing a pointer to a static return value for future use is dangerous since
the value might be overwritten by a subsequent call. Make DTS duplicate the
string it creates instead of relying on the static return value staying
valid.
author | William Astle <lost@l-w.ca> |
---|---|
date | Tue, 16 Jul 2013 21:48:49 -0600 |
parents | 1409debcb1a0 |
children | 9f7889139b06 |
comparison
equal
deleted
inserted
replaced
280:4370370f38d1 | 281:cb24ffb23f7c |
---|