Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libsharp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
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
Martin Reinecke
libsharp
Merge requests
!18
Cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Cleanup
cleanup
into
master
Overview
0
Commits
10
Changes
2
Closed
Martin Reinecke
requested to merge
cleanup
into
master
6 years ago
Overview
0
Commits
10
Changes
2
Expand
0
0
Merge request reports
Viewing commit
04aa8245
Prev
Next
Show latest version
2 files
+
3
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
04aa8245
cosmetics and small tweaks to pkg-config
· 04aa8245
Martin Reinecke
authored
6 years ago
c_utils/memusage.c
+
1
−
1
Options
@@ -53,7 +53,7 @@ double VmHWM(void)
if
(
!
strncmp
(
word
,
"VmHWM:"
,
6
))
{
if
(
fscanf
(
f
,
"%lf%2s"
,
&
res
,
word
)
<
0
)
{
fclose
(
f
);
return
-
1
.
0
;
}
{
fclose
(
f
);
return
-
1
.
0
;
}
if
(
strncmp
(
word
,
"kB"
,
2
))
{
fclose
(
f
);
return
-
1
.
0
;
}
res
*=
1024
;
Loading