From f4d82b0f58b573c7f190bfb6e676869378b57cab Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Sun, 19 Dec 2010 22:01:37 +0000 Subject: [PATCH] looks like sound. --- library/dialect/swi/fli/swi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/library/dialect/swi/fli/swi.c b/library/dialect/swi/fli/swi.c index 3a894f4f4..bda9b450d 100755 --- a/library/dialect/swi/fli/swi.c +++ b/library/dialect/swi/fli/swi.c @@ -463,7 +463,6 @@ X_API int PL_get_chars(term_t l, char **sp, unsigned flags) size_t sz = wcslen(s)+1; if (!(tmp = ensure_space(sp, sz*sizeof(wchar_t), flags))) return 0; - // FIXME: I don't think this is the right thing to do here! memcpy(*sp,s,sz*sizeof(wchar_t)); } else { char *s = RepAtom(at)->StrOfAE;