version 6.0.5

This commit is contained in:
Vítor Santos Costa II
2010-05-01 12:20:28 +01:00
parent c351637eeb
commit 23d01fc7a6
5 changed files with 7 additions and 7 deletions

View File

@@ -400,7 +400,7 @@ X_API int PL_get_chars(term_t l, char **sp, unsigned flags)
putc_cur_lim = tmp+(BUF_SIZE-1);
}
Yap_plwrite(t, do_yap_putc, write_flags, 1200);
*putc_cur_buf = '\0';
*putc_curp = '\0';
/* may have changed due to overflows */
*sp = putc_cur_buf;
return TRUE;