Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ROCK
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Véronique LEGRAND
ROCK
Commits
ad50015a
Commit
ad50015a
authored
1 month ago
by
Veronique Legrand
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug related to output value of lseek that happened only on very large files
parent
8edc1fc9
No related branches found
No related tags found
No related merge requests found
Pipeline
#149806
passed with stage
Stage:
in 20 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/FqBaseBackend.cpp
+3
-3
3 additions, 3 deletions
src/FqBaseBackend.cpp
with
3 additions
and
3 deletions
src/FqBaseBackend.cpp
+
3
−
3
View file @
ad50015a
...
...
@@ -19,7 +19,7 @@
#include
"FqBaseBackend.h"
//
#define DEBUG
#define DEBUG
#ifdef DEBUG
#include
<cassert>
#include
<iostream>
...
...
@@ -157,8 +157,8 @@ int FqBaseBackend::getRead(const unsigned long& offset, char * fq_record) {
#ifdef DEBUG
cout
<<
"going to read record at offset: "
<<
offset
<<
endl
;
#endif
in
t
res
=
lseek
(
i_f_desc
,
offset
,
SEEK_SET
);
if
(
res
==-
1
)
{
off_
t
res
=
lseek
(
i_f_desc
,
offset
,
SEEK_SET
);
if
(
res
==
(
off_t
)
-
1
)
{
#ifdef DEBUG
cout
<<
"Couldn't get read at offset: "
<<
offset
<<
endl
;
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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