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
Mathis Rosenhauer
libaec
Commits
133e9499
Commit
133e9499
authored
Oct 02, 2012
by
Mathis Rosenhauer
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
Make FS check more robust
parent
fa68d153
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/check_code_options.c
View file @
133e9499
...
...
@@ -103,9 +103,11 @@ int check_fs(struct test_state *state)
for
(
tmp
=
state
->
ubuf
;
tmp
<
state
->
ubuf
+
state
->
buf_len
;
tmp
+=
2
*
state
->
byte_per_sample
)
{
state
->
out
(
tmp
,
state
->
xmin
+
1
,
size
);
tmp
+=
4
*
state
->
byte_per_sample
)
{
state
->
out
(
tmp
,
state
->
xmin
+
2
,
size
);
state
->
out
(
tmp
+
size
,
state
->
xmin
,
size
);
state
->
out
(
tmp
+
2
*
size
,
state
->
xmin
,
size
);
state
->
out
(
tmp
+
3
*
size
,
state
->
xmin
,
size
);
}
printf
(
"Checking FS ... "
);
...
...
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