Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
77e46959
Commit
77e46959
authored
Feb 20, 2011
by
Andrei Paskevich
Browse files
reset the task buffer immediately after call
parent
e90fe240
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/driver/driver.ml
View file @
77e46959
...
...
@@ -259,7 +259,9 @@ let prove_task ~command ?timelimit ?memlimit ?old drv task =
let
buf
=
Buffer
.
create
1024
in
let
fmt
=
formatter_of_buffer
buf
in
print_task
?
old
drv
fmt
task
;
pp_print_flush
fmt
()
;
call_on_buffer
~
command
?
timelimit
?
memlimit
drv
buf
let
res
=
call_on_buffer
~
command
?
timelimit
?
memlimit
drv
buf
in
Buffer
.
reset
buf
;
res
(* exception report *)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment