Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
b93a6857
Commit
b93a6857
authored
3 years ago
by
Loïc Correnson
Committed by
Allan Blanchard
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] avoid using asprintf
parent
76b2a04f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/RegionDump.ml
+1
-1
1 addition, 1 deletion
src/plugins/wp/RegionDump.ml
with
1 addition
and
1 deletion
src/plugins/wp/RegionDump.ml
+
1
−
1
View file @
b93a6857
...
...
@@ -281,7 +281,7 @@ let dotgraph dot map =
let
dump_in_file
~
file
name
map
=
if
Wp
.
has_dkey
dot_key
||
Wp
.
has_dkey
pdf_key
then
begin
let
file
=
Format
.
asprintf
"%a"
Datatype
.
Filepath
.
pretty
file
in
let
file
=
Pretty_utils
.
to_string
Datatype
.
Filepath
.
pretty
file
in
let
dot
=
Dotgraph
.
open_dot
~
attr
:
[
`LR
]
~
name
~
file
()
in
dotgraph
dot
map
;
Dotgraph
.
close
dot
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment