summaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-04 11:26:59 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-04 11:26:59 -0700
commit88c9e1f88cd1e67ad4fb2834f3cad6160d5a3fbb (patch)
tree01b0135d5f68e2e9cb80ccdf774d9f687c33fda2 /quote.h
parent0eebf799db452dc1980931bd2f15efde5ecdf28c (diff)
downloadnasm-88c9e1f88cd1e67ad4fb2834f3cad6160d5a3fbb.tar.gz
Fix memory management issues with expanded %include
Ownership of the filename string was a bit fuzzy, with the result that we were freeing it even though it was retained for use by __FILE__. Clean up a number of other memory management issues with the new quoting code, and change the stdscan implementation to one pass over the string.
Diffstat (limited to 'quote.h')
-rw-r--r--quote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quote.h b/quote.h
index 501f7350..5f96159e 100644
--- a/quote.h
+++ b/quote.h
@@ -4,7 +4,7 @@
#include "compiler.h"
char *nasm_quote(char *str, size_t len);
-size_t nasm_unquote(char *str);
+size_t nasm_unquote(char *str, char **endptr);
char *nasm_skip_string(char *str);
#endif /* NASM_QUOTE_H */